diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-14 16:00:26 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:32 -0500 |
commit | 90d7842186591cae364fab3320b524e4d31a7d7d (patch) | |
tree | cfcce7dbd7e6e2f39f5109c975472980a56c5465 /activerecord/test | |
parent | 27b252d6a85e300c7236d034d55ec8e44f57a83e (diff) | |
download | rails-90d7842186591cae364fab3320b524e4d31a7d7d.tar.gz rails-90d7842186591cae364fab3320b524e4d31a7d7d.tar.bz2 rails-90d7842186591cae364fab3320b524e4d31a7d7d.zip |
Remove deprecated `ActiveRecord::Migrator.migrations_path=`
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index a38a853d4f..46e2ff79d9 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -78,16 +78,6 @@ class MigrationTest < ActiveRecord::TestCase end end - def test_migrator_migrations_path_is_deprecated - assert_deprecated do - ActiveRecord::Migrator.migrations_path = "/whatever" - end - ensure - assert_deprecated do - ActiveRecord::Migrator.migrations_path = "db/migrate" - end - end - def test_migration_version_matches_component_version assert_equal ActiveRecord::VERSION::STRING.to_f, ActiveRecord::Migration.current_version end |