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
2020-03-30 10:59:11 +02:00

8 lines
226 B
Bash
Executable File

#!/usr/bin/env bash
RAILS_ENV='test' bin/rails db:environment:set
RAILS_ENV='test' bin/rails db:drop
RAILS_ENV='test' bin/rails db:create
RAILS_ENV='test' bin/rails db:migrate
RAILS_ENV='test' bundle exec bin/rails test "$@"