1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove not assigned variable warning from sqlite3 adapter test

This commit is contained in:
Carlos Antonio da Silva 2012-10-29 23:51:25 -02:00
parent 3525a9b5eb
commit 4e23c0ef34

View file

@ -156,7 +156,7 @@ module ActiveRecord
def test_type_cast_should_not_mutate_encoding def test_type_cast_should_not_mutate_encoding
name = 'hello'.force_encoding(Encoding::ASCII_8BIT) name = 'hello'.force_encoding(Encoding::ASCII_8BIT)
owner = Owner.create(name: name) Owner.create(name: name)
assert_equal Encoding::ASCII_8BIT, name.encoding assert_equal Encoding::ASCII_8BIT, name.encoding
end end