foodsoft/bin/test

10 lines
261 B
Plaintext
Raw Normal View History

#!/bin/sh
2015-05-02 14:22:39 +02:00
# We use TEST_DATABASE_URL to make sure we don't accidentaly overwrite dev/prod db
unset DATABASE_URL; export DATABASE_URL
[ "$TEST_DATABASE_URL" ] && export DATABASE_URL="$TEST_DATABASE_URL"
export RAILS_ENV=test
# Start tests
bundle exec rspec $@