diff options
author | Dieter Komendera <dieter@komendera.com> | 2015-01-08 10:02:58 +0100 |
---|---|---|
committer | Dieter Komendera <dieter@komendera.com> | 2015-01-08 10:02:58 +0100 |
commit | 99e57a8dccb700375c674c6c7872025f0022f0db (patch) | |
tree | 150f91e7b5d37a853e3a63825996656a30215b12 /railties/test/application | |
parent | 9892d445bcff57f0a8bd8eb467cb7bf8c40a285b (diff) | |
download | rails-99e57a8dccb700375c674c6c7872025f0022f0db.tar.gz rails-99e57a8dccb700375c674c6c7872025f0022f0db.tar.bz2 rails-99e57a8dccb700375c674c6c7872025f0022f0db.zip |
Use `SCHEMA` instead of `DB_STRUCTURE` for specifiying structure file.
`rake test:load_structure` already uses `SCHEMA` and there's no
need to maintain two different env vars.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index e8c8de9f73..8d71b813e6 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -227,7 +227,7 @@ module ApplicationTests def test_rake_dump_structure_should_respect_db_structure_env_variable Dir.chdir(app_path) do # ensure we have a schema_migrations table to dump - `bundle exec rake db:migrate db:structure:dump DB_STRUCTURE=db/my_structure.sql` + `bundle exec rake db:migrate db:structure:dump SCHEMA=db/my_structure.sql` end assert File.exist?(File.join(app_path, 'db', 'my_structure.sql')) end |