diff options
Diffstat (limited to 'activerecord/test/cases/associations/has_many_associations_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index f8d27f1c56..0b44515e00 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -1205,7 +1205,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase reply1 = Reply.create!(title: "re: zoom", content: "speedy quick!") reply2 = Reply.create!(title: "re: zoom 2", content: "OMG lol!") - assert_queries(6) do + assert_queries(4) do topic.replies << [reply1, reply2] end |