1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/scripts/run-tests.sh

8 lines
206 B
Bash
Raw Normal View History

#!/usr/bin/env bash
RAILS_ENV='test' bin/rails db:environment:set
2020-03-04 11:58:36 +01:00
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 "$@"