diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-06-30 10:15:26 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-06-30 10:15:26 +0900 |
commit | 4b621df3840542c369a2db40529396033af3ec55 (patch) | |
tree | bf3373282ab32d3bece634a152999d5bfc5126e2 | |
parent | 89afd816bdf8e5625237891c2ff0ac2db71ea5d6 (diff) | |
download | rails-4b621df3840542c369a2db40529396033af3ec55.tar.gz rails-4b621df3840542c369a2db40529396033af3ec55.tar.bz2 rails-4b621df3840542c369a2db40529396033af3ec55.zip |
Make `bin/setup` test pass even if the database does not exist
-rw-r--r-- | railties/test/application/bin_setup_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/bin_setup_test.rb b/railties/test/application/bin_setup_test.rb index aa0da0931d..d84ab61cf9 100644 --- a/railties/test/application/bin_setup_test.rb +++ b/railties/test/application/bin_setup_test.rb @@ -31,7 +31,7 @@ module ApplicationTests Dir.chdir(app_path) do # SQLite3 seems to auto-create the database on first checkout. rails "db:system:change", "--to=postgresql" - rails "db:drop" + rails "db:drop", allow_failure: true app_file "db/schema.rb", "" |