提交 afdf86e8 编写于 作者: A Aaron Patterson

Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly

上级 1da0dc2f
......@@ -662,7 +662,7 @@ def test_clone
cloned_topic.reload
# FIXME: I think this is poor behavior, and will fix it with #5686
assert_equal 'ac', cloned_topic.title
assert_equal({'a' => 'c'}.to_s, 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.
先完成此消息的编辑!
想要评论请 注册