Class: ContentTest
- Inherits:
-
ActiveSupport::TestCase
- Object
- ActiveSupport::TestCase
- ContentTest
- Defined in:
- lib/generators/contentment/templates/content_test.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
5 6 7 8 9 |
# File 'lib/generators/contentment/templates/content_test.rb', line 5 def setup @a = Content.create(:app_id => 1, :position => 1, :title => 'a', :tipe => 'test') @b = Content.create(:app_id => 1, :position => 2, :title => 'b', :tipe => 'test') @c = Content.create(:app_id => 1, :position => 3, :title => 'c', :tipe => 'test') end |