提交 18af5dab 编写于 作者: C Carlos Antonio da Silva

Fix failing build related to change in CollectionAssociation#delete

Merge commit 6f1d9d00
上级 400c5fef
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册