diff --git a/bin/test.sh b/bin/test.sh new file mode 100644 index 0000000000..f7e36b133e --- /dev/null +++ b/bin/test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -eux + +export NODE_ENV=production +export RAILS_ENV=production + +bundle exec rake assets:clobber +bundle exec rake assets:precompile + +export RAILS_ENV=test +bundle exec rake spec