提交 a8966094 编写于 作者: R Rafael Mendonça França

Merge pull request #8728 from amatsuda/model_all_returns_a_relation

A small fix for an AR test case
......@@ -122,7 +122,7 @@ def test_silence_auto_explain
base.expects(:collecting_sqls_for_explain).never
base.logger.expects(:warn).never
base.silence_auto_explain do
with_threshold(0) { Car.all }
with_threshold(0) { Car.all.to_a }
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册