From 2748b750873faf587c78d7a71f6c725b0fd4252a Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Fri, 9 May 2014 14:44:41 -0600 Subject: [PATCH] Speed up repeated execution of unit tests In the Cucumber tests, we do not access the Internet to install test dependencies -- we assume that you've already run `bundle install` or `appraisal install` to install those dependencies. Change the RSpec tests so that the same thing happens. --- spec/support/test_application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/test_application.rb b/spec/support/test_application.rb index b796fa68..f152bec2 100644 --- a/spec/support/test_application.rb +++ b/spec/support/test_application.rb @@ -92,7 +92,7 @@ EOT end def install_gems - retrying('bundle install') do |command| + retrying('bundle install --local') do |command| Bundler.with_clean_env { `#{command}` } end end