diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-14 13:59:07 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-14 13:59:07 -0800 |
commit | 40be2eaca92056eba5ff2931278e0e74b1ef5dea (patch) | |
tree | 65f53627f94ade8a6fdc2b6d74ff9d9b1d3f9298 /activerecord/test/cases/adapters/sqlite3 | |
parent | f5a635e4f47f5c864d49e8fe23641d65adfb25e3 (diff) | |
download | rails-40be2eaca92056eba5ff2931278e0e74b1ef5dea.tar.gz rails-40be2eaca92056eba5ff2931278e0e74b1ef5dea.tar.bz2 rails-40be2eaca92056eba5ff2931278e0e74b1ef5dea.zip |
drop the dual encodings table
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb index a49432b4a8..4f6c85c6c9 100644 --- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb @@ -189,7 +189,7 @@ module ActiveRecord 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 @@ module ActiveRecord 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 |