diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-03 21:05:49 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-04 22:15:15 +0900 |
commit | e612a47aac560cd2a908b6a624bb17057a09f0b8 (patch) | |
tree | deff94b06b78c5edb2b249ee4797eef744b99449 /activerecord/test/cases/adapters/sqlite3 | |
parent | a72473f0320cc58bea1b47c856c62f015d5da82b (diff) | |
download | rails-e612a47aac560cd2a908b6a624bb17057a09f0b8.tar.gz rails-e612a47aac560cd2a908b6a624bb17057a09f0b8.tar.bz2 rails-e612a47aac560cd2a908b6a624bb17057a09f0b8.zip |
Deprecate `valid_alter_table_type?` in sqlite3 adapter
This method which is used only in the internal was introduced in
ac384820 and was renamed in #17579. It does not need to be exposed.
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb index cd5d6f17d8..20579c6476 100644 --- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb @@ -500,6 +500,10 @@ module ActiveRecord end end + def test_deprecate_valid_alter_table_type + assert_deprecated { @conn.valid_alter_table_type?(:string) } + end + private def assert_logged(logs) |