Skip to content

Commit 18af5da

Browse files
Fix failing build related to change in CollectionAssociation#delete
Merge commit 6f1d9d0
1 parent 400c5fe commit 18af5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/associations/join_model_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def test_delete_associate_when_deleting_from_has_many_through_with_multiple_tags
578578
end
579579

580580
def test_deleting_junk_from_has_many_through_should_raise_type_mismatch
581-
assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete("Uhh what now?") }
581+
assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete(Object.new) }
582582
end
583583

584584
def test_has_many_through_sum_uses_calculations

0 commit comments

Comments
 (0)