提交 301409a9 编写于 作者: R Ryuta Kamizono

Call `load_schema` before `assert_no_queries`

Follow up 45be690f.

`predicate_builder.build` in `where` requires `load_schema` for
`type_for_attribute`.
上级 e0d147fa
......@@ -17,6 +17,7 @@ def test_none
end
def test_none_chainable
Developer.send(:load_schema)
assert_no_queries do
assert_equal [], Developer.none.where(name: "David")
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册