diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-01 08:33:15 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-07 08:23:21 +0900 |
commit | 2aa9fd0718fa8fac75d25e87579e48e4740f915a (patch) | |
tree | 3a3592a2f30c22a4ff87a75386a6ceaf03229d3f /activerecord/test | |
parent | aff5e52484da7b4c2bc26552eb02222513d3976b (diff) | |
download | rails-2aa9fd0718fa8fac75d25e87579e48e4740f915a.tar.gz rails-2aa9fd0718fa8fac75d25e87579e48e4740f915a.tar.bz2 rails-2aa9fd0718fa8fac75d25e87579e48e4740f915a.zip |
Deprecate `ColumnDumper#migration_keys`
`ColumnDumper#migration_keys` was extracted to customize keys for
standardized column arguments widths. But the feature was removed in
df84e98. The internal method is no longer used for that.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index 2fda4d60b8..de16ecf442 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -1138,4 +1138,8 @@ class CopyMigrationsTest < ActiveRecord::TestCase assert_deprecated { ActiveRecord::Base.connection.initialize_schema_migrations_table } assert_deprecated { ActiveRecord::Base.connection.initialize_internal_metadata_table } end + + def test_deprecate_migration_keys + assert_deprecated { ActiveRecord::Base.connection.migration_keys } + end end |