提交 c40bfc80 编写于 作者: Z Zuhao Wan

Make sure assertion passes for postgresql.

上级 4c81c8ce
......@@ -130,7 +130,7 @@ def test_has_many_through_has_one_through_with_has_one_source_reflection
def test_has_many_through_has_one_through_with_has_one_source_reflection_preload
members = assert_queries(4) { Member.includes(:nested_sponsors).to_a }
mustache = sponsors(:moustache_club_sponsor_for_groucho)
assert_no_queries do
assert_no_queries(ignore_none: false) do
assert_equal [mustache], members.first.nested_sponsors
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册