From 18af5dab071bf21950ffe69b72b5fdecd6cf8165 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 29 May 2012 00:18:27 -0300 Subject: Fix failing build related to change in CollectionAssociation#delete Merge commit 6f1d9d00ffd9d411b2bd488da4eb92b7e2fd972e --- activerecord/test/cases/associations/join_model_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/cases/associations/join_model_test.rb b/activerecord/test/cases/associations/join_model_test.rb index ecc676f300..c2f8f1ca8c 100644 --- a/activerecord/test/cases/associations/join_model_test.rb +++ b/activerecord/test/cases/associations/join_model_test.rb @@ -578,7 +578,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase 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 -- cgit v1.2.3