1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-17 11:54:22 +01:00

force tests to run in test env

This commit is contained in:
Sylvain 2020-03-04 11:58:36 +01:00
parent 978c44f55f
commit d026717280

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
RAILS_ENV=test rake db:drop
RAILS_ENV=test rake db:create
RAILS_ENV=test rake db:migrate
rake test
RAILS_ENV='test' rake db:drop
RAILS_ENV='test' rake db:create
RAILS_ENV='test' rake db:migrate
RAILS_ENV='test' bundle exec rake test "$@"