Make database url for test env different from the dev env one (#7437)

This commit is contained in:
Anna Buianova 2020-04-22 17:14:26 +03:00 committed by GitHub
parent de88a08ebd
commit 40b5efa517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ development:
# Do not set this db to the same as development or production.
test:
<<: *default
url: <%= ENV.fetch('DATABASE_URL', '') %>
url: <%= ENV.fetch('DATABASE_URL_TEST', '') %>
database: PracticalDeveloper_test<%= ENV['TEST_ENV_NUMBER'] %>
# As with config/secrets.yml, you never want to store sensitive information,