aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r--activerecord/test/cases/base_test.rb2
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