Permalink
Browse files

silencing deprecation spam

  • Loading branch information...
1 parent 90aede6 commit 30a0e3f6d64b5d22b0778aef1a44a07205509d77 @tenderlove tenderlove committed Feb 22, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 activerecord/test/cases/relations_test.rb
@@ -781,8 +781,10 @@ def test_intersection_with_array
relation = Author.where(:name => "David")
rails_author = relation.first
- assert_equal [rails_author], [rails_author] & relation
- assert_equal [rails_author], relation & [rails_author]
+ assert_deprecated do
+ assert_equal [rails_author], [rails_author] & relation
+ assert_equal [rails_author], relation & [rails_author]
+ end
end
end

0 comments on commit 30a0e3f

Please sign in to comment.