summaryrefslogtreecommitdiff
path: root/spec/lock
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 17:32:33 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 10:34:06 +0200
commit664549427a8421147cdd272fe5ab2c39923fab28 (patch)
tree8c9d06feb596c1ec67f666cdd0933b1507b88258 /spec/lock
parent8c83921d0842acd1e287541eaeaca96b97639f96 (diff)
downloadbundler-664549427a8421147cdd272fe5ab2c39923fab28.tar.gz
Always set `cache_all` via config during tests
So that the behavior is the same regardless of the tested bundler version.
Diffstat (limited to 'spec/lock')
-rw-r--r--spec/lock/lockfile_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index e32bb83b3d..df30bc0400 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -620,7 +620,8 @@ RSpec.describe "the lockfile format" do
gem "foo", :path => "#{lib_path("foo-1.0")}"
G
- bundle! :package, forgotten_command_line_options([:all, :cache_all] => true)
+ bundle "config set cache_all true"
+ bundle! :package
bundle! :install, :local => true
lockfile_should_be <<-G