Commit c06aaf3e36ae5a9c192774c215565419bb533d2d

Authored by Rodrigo Souto
1 parent d03ee57c

profile-test: remove unnecessary Article.destroy_all

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
test/unit/profile_test.rb
@@ -1300,7 +1300,6 @@ class ProfileTest < ActiveSupport::TestCase @@ -1300,7 +1300,6 @@ class ProfileTest < ActiveSupport::TestCase
1300 1300
1301 should 'list folder articles' do 1301 should 'list folder articles' do
1302 profile = fast_create(Profile) 1302 profile = fast_create(Profile)
1303 - Article.destroy_all  
1304 p1 = Folder.create!(:name => 'parent1', :profile => profile) 1303 p1 = Folder.create!(:name => 'parent1', :profile => profile)
1305 p2 = Blog.create!(:name => 'parent2', :profile => profile) 1304 p2 = Blog.create!(:name => 'parent2', :profile => profile)
1306 1305