Skip to content
Browse files

Modified NamedScopeTest to use CollectionAssociation.

  • Loading branch information...
1 parent ad99180 commit 940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 @BlackBulletIV BlackBulletIV committed May 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/named_scope_test.rb
View
2 activerecord/test/cases/named_scope_test.rb
@@ -462,7 +462,7 @@ def test_scopes_are_reset_on_association_reload
[: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

0 comments on commit 940c31f

Please sign in to comment.
Something went wrong with that request. Please try again.