From 9a99664a11664399f5ce916ef034ce2c2d2e64da Mon Sep 17 00:00:00 2001 From: Michal Cichra Date: Sun, 27 Mar 2016 15:51:51 +0200 Subject: [PATCH] improve the integration test script --- script/integration.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/script/integration.sh b/script/integration.sh index 13922d7b2..b38a357ef 100755 --- a/script/integration.sh +++ b/script/integration.sh @@ -3,10 +3,15 @@ set -e set -o verbose -rm -rf dummy +test_app=dummy -bundle exec rails new dummy --template=$(dirname "$0")/integration-template.rb --skip-spring --skip-turbolinks +rm -rf ${test_app} -cd dummy && export BUNDLE_GEMFILE=Gemfile +bundle exec rails new ${test_app} \ + --template=$(dirname "$0")/integration-template.rb \ + --skip-spring \ + --skip-turbolinks + +cd ${test_app} && export BUNDLE_GEMFILE=Gemfile bundle exec rake test