Skip to content

Commit

Permalink
improve the integration test script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Mar 27, 2016
1 parent 23134de commit 9a99664
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions script/integration.sh
Expand Up @@ -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

0 comments on commit 9a99664

Please sign in to comment.