diff options
author | Jon Leighton <j@jonathanleighton.com> | 2013-02-15 16:19:08 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2013-02-15 16:23:25 +0000 |
commit | c65b076328b292f1b727bb6a7dc144c05458163f (patch) | |
tree | 9d198091fdf142041a2a44a9c4c3e2e2e0db1b24 /activerecord/test/cases/adapters/sqlite3 | |
parent | 2f997797a500721ca845f5eb6d056bcaf4ffeaca (diff) | |
download | rails-c65b076328b292f1b727bb6a7dc144c05458163f.tar.gz rails-c65b076328b292f1b727bb6a7dc144c05458163f.tar.bz2 rails-c65b076328b292f1b727bb6a7dc144c05458163f.zip |
Revert "checking in the abstractions for valid type checking:"
This reverts commit c321b309a9a90bbfa0912832c11b3fef52e71840.
Conflicts:
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
Reason: failing test
1) Error:
test_valid_column(ActiveRecord::ConnectionAdapters::SQLite3AdapterTest):
NoMethodError: undefined method `column' for
test/cases/adapters/sqlite3/sqlite3_adapter_test.rb:29:in
`test_valid_column'
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb index 64af49acec..003052bac4 100644 --- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb @@ -25,15 +25,6 @@ module ActiveRecord @conn.intercepted = true end - def test_valid_column - column = @conn.column('items').find { |col| col.name == 'id' } - assert @conn.valid_type?(column.type) - end - - def test_invalid_column - assert @conn.valid_type?(:foobar) - end - def teardown @conn.intercepted = false @conn.logged = [] |