提交 15e28914 编写于 作者: J Jon Leighton

Oops, this should have been in the last commit

上级 c5252016
......@@ -837,7 +837,7 @@ def test_a_child_marked_for_destruction_should_not_be_destroyed_twice_while_savi
@pirate.parrots.each { |parrot| parrot.mark_for_destruction }
assert @pirate.save
assert_no_queries do
assert_queries(0) do
assert @pirate.save
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册