mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user