Skip to content

Commit

Permalink
Merge pull request #17322 from vipulnsward/fix-test-warning
Browse files Browse the repository at this point in the history
Fixed test throwing unused variable warning
  • Loading branch information
matthewd committed Oct 19, 2014
2 parents 61af5cc + 6d703b5 commit 091da45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/serialized_attribute_test.rb
Expand Up @@ -143,7 +143,7 @@ def test_nil_not_serialized_with_class_constraint
def test_serialized_attribute_should_raise_exception_on_assignment_with_wrong_type
Topic.serialize(:content, Hash)
assert_raise(ActiveRecord::SerializationTypeMismatch) do
topic = Topic.new(content: 'string')
Topic.new(content: 'string')
end
end

Expand Down

0 comments on commit 091da45

Please sign in to comment.