Permalink
Browse files

Remove not assigned variable warning from sqlite3 adapter test

  • Loading branch information...
1 parent 3525a9b commit 4e23c0ef341c2cba6a4b21022d4ffbabdaa6e3da @carlosantoniodasilva carlosantoniodasilva committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
@@ -156,7 +156,7 @@ def test_quote_binary_column_escapes_it
def test_type_cast_should_not_mutate_encoding
name = 'hello'.force_encoding(Encoding::ASCII_8BIT)
- owner = Owner.create(name: name)
+ Owner.create(name: name)
assert_equal Encoding::ASCII_8BIT, name.encoding
end

0 comments on commit 4e23c0e

Please sign in to comment.