summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-04-23 20:04:51 -0700
committerTim Smith <tsmith84@gmail.com>2021-04-23 20:06:12 -0700
commit19cfcd13fede9a713dbef974da904c2ddf5e23bf (patch)
tree0dfdb1cc5d3b25727305d058f375ab9836ceb261 /tasks
parent0a7489e38115d13db4cd251e89192c879a110498 (diff)
downloadchef-19cfcd13fede9a713dbef974da904c2ddf5e23bf.tar.gz
Cache all our gems during spec runs
This should speed up our unit tests a good amount Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index 050c40be5c..9c406bc135 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -29,7 +29,7 @@ begin
Dir.chdir(gem) do
puts "--- Running #{gem} specs"
Bundler.with_unbundled_env do
- sh("bundle install --jobs=3 --retry=3")
+ sh("bundle install --jobs=3 --retry=3 --path=../vendor/bundle")
sh("bundle exec rake spec")
end
end