Class: OptionTagsWillDisableTest

Inherits:
ActionView::TestCase
  • Object
show all
Defined in:
lib/plugins/option_tags_with_disable/test/option_tags_will_disable_test.rb

Defined Under Namespace

Classes: Post

Instance Method Summary collapse

Instance Method Details

#setupObject



8
9
10
11
12
13
14
# File 'lib/plugins/option_tags_with_disable/test/option_tags_will_disable_test.rb', line 8

def setup
  @posts = [
    Post.new("<Abe> went home", "<Abe>", "To a little house", true),
    Post.new("Babe went home", "Babe", "To a little house", false),
    Post.new("Cabe went home", "Cabe", "To a little house", false)
  ]
end