提交 f2ee3f20 编写于 作者: M Michael Koziarski

Fix the AR json serialization tests to comply with the earlier change to quote keys correctly

上级 0bed5bdb
......@@ -200,6 +200,6 @@ def test_should_allow_options_for_hash_of_authors
2 => @mary
}
assert_equal %({1: {"name": "David"}}), authors_hash.to_json(:only => [1, :name])
assert_equal %({"1": {"name": "David"}}), authors_hash.to_json(:only => [1, :name])
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册