You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why are you using a different name in DATABASE_URL_TEST=postgres://postgres:hele@postgres/techloop_automator_testik than in your config? Did you try changing in yaml file
test:
database: techloop_automator_testik
But also maybe try setting the config before loading the tasks? So move StandaloneMigrations::Tasks.load_tasks to after your config do/end block.
Having this
.env vars
DATABASE_URL_TEST=postgres://postgres:hele@postgres/techloop_automator_testik
db/config.yml
Rakefile
When I run
rake db:create RAILS_ENV=test
, I get:>> it creates
techloop_automator_test
as opposed totechloop_automator_testik
The text was updated successfully, but these errors were encountered: