Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

We don't need this reload

  • Loading branch information...
commit a6e95c93ca60aa385bdcfe4e8e3d0f61a37efaed 1 parent b26f7a2
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/serialized_attribute_test.rb
View
2  activerecord/test/cases/serialized_attribute_test.rb
@@ -113,7 +113,7 @@ def test_should_raise_exception_on_serialized_attribute_with_type_mismatch
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
Please sign in to comment.
Something went wrong with that request. Please try again.