Permalink
Browse files

Fix failing build related to change in CollectionAssociation#delete

Merge commit 6f1d9d0
  • Loading branch information...
1 parent 400c5fe commit 18af5dab071bf21950ffe69b72b5fdecd6cf8165 @carlosantoniodasilva carlosantoniodasilva committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/join_model_test.rb
View
2 activerecord/test/cases/associations/join_model_test.rb
@@ -578,7 +578,7 @@ def test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags
end
def test_deleting_junk_from_has_many_through_should_raise_type_mismatch
- assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete("Uhh what now?") }
+ assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete(Object.new) }
end
def test_has_many_through_sum_uses_calculations

0 comments on commit 18af5da

Please sign in to comment.