We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 400c5fe commit 18af5daCopy full SHA for 18af5da
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
578
end
579
580
def test_deleting_junk_from_has_many_through_should_raise_type_mismatch
581
- assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete("Uhh what now?") }
+ assert_raise(ActiveRecord::AssociationTypeMismatch) { posts(:thinking).tags.delete(Object.new) }
582
583
584
def test_has_many_through_sum_uses_calculations
0 commit comments