提交 2275b8da 编写于 作者: J Jeremy Kemper

Fix quoting in test_counting_with_single_conditions

上级 ddab9d7f
......@@ -37,7 +37,7 @@ def test_counting_with_empty_hash_conditions
end
def test_counting_with_single_conditions
assert_equal 1, Firm.find(:first).plain_clients.count(:conditions => 'name="Microsoft"')
assert_equal 1, Firm.find(:first).plain_clients.count(:conditions => ['name=?', "Microsoft"])
end
def test_counting_with_single_hash
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册