diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-06-12 19:05:29 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-06-12 19:05:29 +0100 |
commit | 15e289147e72ab113299f806b4f6e7a0daddd684 (patch) | |
tree | 5c233f473e3d2b46013b00a4a7d3726c85c6507f /activerecord/test | |
parent | c52520166be48299b589dbccd7d1ee22b1095ffb (diff) | |
download | rails-15e289147e72ab113299f806b4f6e7a0daddd684.tar.gz rails-15e289147e72ab113299f806b4f6e7a0daddd684.tar.bz2 rails-15e289147e72ab113299f806b4f6e7a0daddd684.zip |
Oops, this should have been in the last commit :zap:
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/autosave_association_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb index 8f55b7ebe6..4ad2cdfc7e 100644 --- a/activerecord/test/cases/autosave_association_test.rb +++ b/activerecord/test/cases/autosave_association_test.rb @@ -837,7 +837,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase @pirate.parrots.each { |parrot| parrot.mark_for_destruction } assert @pirate.save - assert_no_queries do + assert_queries(0) do assert @pirate.save end end |