diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-23 08:48:10 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-23 08:48:10 -0700 |
commit | afdf86e8ee7c64915515e7ad8930efd858fceb43 (patch) | |
tree | 3debde868458196c0ed0980b6237d6baed58bcfe /activerecord/test/cases/base_test.rb | |
parent | 1da0dc2f906bbf6c248a33f8d18662fd1494cfba (diff) | |
download | rails-afdf86e8ee7c64915515e7ad8930efd858fceb43.tar.gz rails-afdf86e8ee7c64915515e7ad8930efd858fceb43.tar.bz2 rails-afdf86e8ee7c64915515e7ad8930efd858fceb43.zip |
Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 69c798b959..d87f259f4b 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -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 |