From 2b7e39f364d76c74af6e04aa3d96888a6aeef1cd Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Tue, 23 Jul 2019 17:32:33 +0200 Subject: [bundler/bundler] Always set `cache_all` via config during tests So that the behavior is the same regardless of the tested bundler version. https://github.com/bundler/bundler/commit/664549427a --- spec/bundler/install/gemfile/git_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/bundler/install/gemfile/git_spec.rb') diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb index f2dcd33d7d..afcac8b153 100644 --- a/spec/bundler/install/gemfile/git_spec.rb +++ b/spec/bundler/install/gemfile/git_spec.rb @@ -1390,7 +1390,8 @@ In Gemfile: gem 'foo' end G - bundle :package, forgotten_command_line_options([:all, :cache_all] => true) + bundle "config set cache_all true" + bundle :package simulate_new_machine bundle! "install", :env => { "PATH" => "" } -- cgit v1.2.3