提交 0a515dc6 编写于 作者: A Aaron Patterson

testing poor behavior of hash serialization

上级 c88deaf5
......@@ -659,6 +659,10 @@ def test_clone
cloned_topic.save
assert !cloned_topic.new_record?
assert_not_equal cloned_topic.id, topic.id
cloned_topic.reload
# FIXME: I think this is poor behavior, and will fix it with #5686
assert_equal 'ac', cloned_topic.title
end
def test_clone_with_aggregate_of_same_name_as_attribute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册