diff options
author | Xavier Noria <fxn@hashref.com> | 2011-05-11 03:43:09 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-05-11 03:43:09 -0700 |
commit | b3f45195aa8a35277c3f998917312797936a1f4e (patch) | |
tree | 03608f0491833ec42495ebb806dd0e91d154df71 /activerecord/test/cases | |
parent | 1dd90f8f12d1904ee3db37f9390df3246bb2712b (diff) | |
parent | 940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 (diff) | |
download | rails-b3f45195aa8a35277c3f998917312797936a1f4e.tar.gz rails-b3f45195aa8a35277c3f998917312797936a1f4e.tar.bz2 rails-b3f45195aa8a35277c3f998917312797936a1f4e.zip |
Merge pull request #513 from BlackBulletIV/patch-1
Modified CollectionAssociation documentation to refer to the new class name
Diffstat (limited to 'activerecord/test/cases')
-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 |