提交 feb807dd 编写于 作者: M Mike Gunderloy 提交者: Yehuda Katz

Fix named scope tests for sqlite3 [#1667 state:resolved]

Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
上级 abfa46e3
......@@ -254,7 +254,7 @@ def test_rand_should_select_a_random_object_from_proxy
end
def test_should_use_where_in_query_for_named_scope
assert_equal Developer.find_all_by_name('Jamis'), Developer.find_all_by_id(Developer.jamises)
assert_equal Developer.find_all_by_name('Jamis').to_set, Developer.find_all_by_id(Developer.jamises).to_set
end
def test_size_should_use_count_when_results_are_not_loaded
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册