diff options
author | Michael Ebens <michael@nova-fusion.com> | 2011-05-11 03:37:35 -0700 |
---|---|---|
committer | Michael Ebens <michael@nova-fusion.com> | 2011-05-11 03:37:35 -0700 |
commit | 940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 (patch) | |
tree | 03608f0491833ec42495ebb806dd0e91d154df71 /activerecord | |
parent | ad991808d54754b1e3d749879ac6356ea4cf672e (diff) | |
download | rails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.tar.gz rails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.tar.bz2 rails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.zip |
Modified NamedScopeTest to use CollectionAssociation.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/named_scope_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb index 8fd1fc2577..34188e4915 100644 --- a/activerecord/test/cases/named_scope_test.rb +++ b/activerecord/test/cases/named_scope_test.rb @@ -462,7 +462,7 @@ class NamedScopeTest < ActiveRecord::TestCase [:destroy_all, :reset, :delete_all].each do |method| before = post.comments.containing_the_letter_e post.association(:comments).send(method) - assert before.object_id != post.comments.containing_the_letter_e.object_id, "AssociationCollection##{method} should reset the named scopes cache" + assert before.object_id != post.comments.containing_the_letter_e.object_id, "CollectionAssociation##{method} should reset the named scopes cache" end end |