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:
parent
3525a9b5eb
commit
4e23c0ef34
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue