spec/support/sqlite_seed.rb in bullet-5.1.0 vs spec/support/sqlite_seed.rb in bullet-5.1.1
- old
+ new
@@ -14,9 +14,10 @@
category2 = Category.create(:name => 'second')
post1 = category1.posts.create(:name => 'first', :writer => writer1)
post1a = category1.posts.create(:name => 'like first', :writer => writer2, active: false)
post2 = category2.posts.create(:name => 'second', :writer => writer2)
+ post3 = category2.posts.create(:name => 'third', :writer => writer2)
comment1 = post1.comments.create(:name => 'first', :author => writer1)
comment2 = post1.comments.create(:name => 'first2', :author => writer1)
comment3 = post1.comments.create(:name => 'first3', :author => writer1)
comment4 = post1.comments.create(:name => 'second', :author => writer2)