diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-05 18:55:33 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-05 18:55:33 -0200 |
commit | 25bbe595f1dda1378238a4698b5f980a24110c75 (patch) | |
tree | f11807d157327a164fcb580a188cdc3c33212340 /railties/test/application | |
parent | 726b95e5ce214a6ad3b688fe8d11c412ebf55692 (diff) | |
parent | 99e57a8dccb700375c674c6c7872025f0022f0db (diff) | |
download | rails-25bbe595f1dda1378238a4698b5f980a24110c75.tar.gz rails-25bbe595f1dda1378238a4698b5f980a24110c75.tar.bz2 rails-25bbe595f1dda1378238a4698b5f980a24110c75.zip |
Merge pull request #18399 from kommen/unify-structure-file-envvar-names
Use SCHEMA instead of DB_STRUCTURE for specifiying structure file.
Conflicts:
activerecord/CHANGELOG.md
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 |