mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly
This commit is contained in:
parent
1da0dc2f90
commit
afdf86e8ee
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ class BasicsTest < ActiveRecord::TestCase
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue