diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-03 15:13:08 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-03 15:13:08 -0500 |
commit | d84a126d25df038f6384eb584af37855552a7a4d (patch) | |
tree | cea47c9c48ead2dca063c9c4ccbb4af21b224464 /railties/test/application | |
parent | a56b2a5e4022a9be76de1aabfb7314c8a8b63182 (diff) | |
download | rails-d84a126d25df038f6384eb584af37855552a7a4d.tar.gz rails-d84a126d25df038f6384eb584af37855552a7a4d.tar.bz2 rails-d84a126d25df038f6384eb584af37855552a7a4d.zip |
Same issue from AR getting loaded earlier
cc @rafaelfranca
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake/dbs_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb index 3216121de3..9b29b35553 100644 --- a/railties/test/application/rake/dbs_test.rb +++ b/railties/test/application/rake/dbs_test.rb @@ -42,8 +42,8 @@ module ApplicationTests end test "db:create and db:drop with database url" do - require "#{app_path}/config/environment" set_database_url + require "#{app_path}/config/environment" db_create_and_drop database_url_db_name end @@ -154,8 +154,8 @@ module ApplicationTests end test "db:fixtures:load with database_url" do - require "#{app_path}/config/environment" set_database_url + require "#{app_path}/config/environment" db_fixtures_load database_url_db_name end @@ -189,8 +189,8 @@ module ApplicationTests end test "db:structure:dump and db:structure:load with database_url" do - require "#{app_path}/config/environment" set_database_url + require "#{app_path}/config/environment" db_structure_dump_and_load database_url_db_name end |