Permalink
Browse files

drop the dual encodings table

  • Loading branch information...
1 parent f5a635e commit 40be2eaca92056eba5ff2931278e0e74b1ef5dea @tenderlove tenderlove committed Jan 14, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
@@ -189,7 +189,7 @@ def test_quote_binary_column_escapes_it
DualEncoding.connection.execute(<<-eosql)
CREATE TABLE IF NOT EXISTS dual_encodings (
id integer PRIMARY KEY AUTOINCREMENT,
- name string,
+ name varchar(255),
data binary
)
eosql
@@ -198,7 +198,7 @@ def test_quote_binary_column_escapes_it
binary.save!
assert_equal str, binary.data
ensure
- #DualEncoding.connection.execute('DROP TABLE IF EXISTS dual_encodings')
+ DualEncoding.connection.execute('DROP TABLE IF EXISTS dual_encodings')
end
def test_type_cast_should_not_mutate_encoding

0 comments on commit 40be2ea

Please sign in to comment.