提交 cd809fd8 编写于 作者: G Godfrey Chan

Fixed SQL syntax for postgresql

上级 f4c8a4b7
......@@ -96,7 +96,7 @@ def test_json_db_null
# On 4.0, re-saving a row with a database NULL will turn that into a JSON
# "null"
assert_equal 1, Topic.where('content = "null"').count
assert_equal 1, Topic.where("content = 'null'").count
end
def test_serialized_attribute_declared_in_subclass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册