aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ebens <michael@nova-fusion.com>2011-05-11 03:37:35 -0700
committerMichael Ebens <michael@nova-fusion.com>2011-05-11 03:37:35 -0700
commit940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 (patch)
tree03608f0491833ec42495ebb806dd0e91d154df71
parentad991808d54754b1e3d749879ac6356ea4cf672e (diff)
downloadrails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.tar.gz
rails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.tar.bz2
rails-940c31f9de1523e9bf1adab7f6b6e5c2c9769af8.zip
Modified NamedScopeTest to use CollectionAssociation.
-rw-r--r--activerecord/test/cases/named_scope_test.rb2
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