diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-11-08 16:03:44 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-11-08 16:12:34 +0200 |
commit | a444bae3f29ffc09231e31526631bcb35fa2bfa0 (patch) | |
tree | 46d791ac6f7acd97c376d03a4ac15555a46fb6e7 /railties | |
parent | 7f7e7e8b39f56d35993bec4247ac0295cd0c943e (diff) | |
download | rails-a444bae3f29ffc09231e31526631bcb35fa2bfa0.tar.gz rails-a444bae3f29ffc09231e31526631bcb35fa2bfa0.tar.bz2 rails-a444bae3f29ffc09231e31526631bcb35fa2bfa0.zip |
Remove unused argument `expected_database`
This argument was added in fa5a028ed9f, and #34137 but hasn't been used.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/rake/multi_dbs_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/test/application/rake/multi_dbs_test.rb b/railties/test/application/rake/multi_dbs_test.rb index 52f4a5fa3c..ef99365e75 100644 --- a/railties/test/application/rake/multi_dbs_test.rb +++ b/railties/test/application/rake/multi_dbs_test.rb @@ -113,7 +113,7 @@ module ApplicationTests end end - def db_migrate_namespaced(namespace, expected_database) + def db_migrate_namespaced(namespace) Dir.chdir(app_path) do generate_models_for_animals output = rails("db:migrate:#{namespace}") @@ -125,7 +125,7 @@ module ApplicationTests end end - def db_migrate_status_namespaced(namespace, expected_database) + def db_migrate_status_namespaced(namespace) Dir.chdir(app_path) do generate_models_for_animals output = rails("db:migrate:status:#{namespace}") @@ -199,7 +199,7 @@ module ApplicationTests test "db:migrate:namespace works" do require "#{app_path}/config/environment" ActiveRecord::Base.configurations.configs_for(env_name: Rails.env).each do |db_config| - db_migrate_namespaced db_config.spec_name, db_config.config["database"] + db_migrate_namespaced db_config.spec_name end end @@ -211,8 +211,8 @@ module ApplicationTests test "db:migrate:status:namespace works" do require "#{app_path}/config/environment" ActiveRecord::Base.configurations.configs_for(env_name: Rails.env).each do |db_config| - db_migrate_namespaced db_config.spec_name, db_config.config["database"] - db_migrate_status_namespaced db_config.spec_name, db_config.config["database"] + db_migrate_namespaced db_config.spec_name + db_migrate_status_namespaced db_config.spec_name end end |