diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-26 03:03:53 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-26 03:56:19 -0300 |
commit | a6e95c93ca60aa385bdcfe4e8e3d0f61a37efaed (patch) | |
tree | 2baf9bdd9798139215fccf13bf93a15ab902de72 /activerecord | |
parent | b26f7a2517166eb432194dbbbcacc970391595e7 (diff) | |
download | rails-a6e95c93ca60aa385bdcfe4e8e3d0f61a37efaed.tar.gz rails-a6e95c93ca60aa385bdcfe4e8e3d0f61a37efaed.tar.bz2 rails-a6e95c93ca60aa385bdcfe4e8e3d0f61a37efaed.zip |
We don't need this reload
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/serialized_attribute_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/serialized_attribute_test.rb b/activerecord/test/cases/serialized_attribute_test.rb index 0a8b3ccd2e..64319b999d 100644 --- a/activerecord/test/cases/serialized_attribute_test.rb +++ b/activerecord/test/cases/serialized_attribute_test.rb @@ -113,7 +113,7 @@ class SerializedAttributeTest < ActiveRecord::TestCase topic = Topic.new(:content => myobj) assert topic.save Topic.serialize(:content, Hash) - assert_raise(ActiveRecord::SerializationTypeMismatch) { Topic.find(topic.id).reload.content } + assert_raise(ActiveRecord::SerializationTypeMismatch) { Topic.find(topic.id).content } end def test_serialized_attribute_with_class_constraint |