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
226 B
Bash
Raw Normal View History

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