diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-22 14:57:42 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-22 14:58:29 -0700 |
commit | 0a515dc68d632bde50ef31080f4edae624d3a90c (patch) | |
tree | 0fa75a0f998dfe9a62082c3c501a91e3b7455146 /activerecord/test | |
parent | c88deaf5ee0a7abd767a770ebfbe9ab532b147de (diff) | |
download | rails-0a515dc68d632bde50ef31080f4edae624d3a90c.tar.gz rails-0a515dc68d632bde50ef31080f4edae624d3a90c.tar.bz2 rails-0a515dc68d632bde50ef31080f4edae624d3a90c.zip |
testing poor behavior of hash serialization
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index c6f1bc8693..69c798b959 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -659,6 +659,10 @@ class BasicsTest < ActiveRecord::TestCase cloned_topic.save assert !cloned_topic.new_record? assert_not_equal cloned_topic.id, topic.id + + cloned_topic.reload + # FIXME: I think this is poor behavior, and will fix it with #5686 + assert_equal 'ac', cloned_topic.title end def test_clone_with_aggregate_of_same_name_as_attribute |