diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-21 10:50:00 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-30 07:04:47 +0100 |
commit | 0bc4970769f178e80a0ad149c433e25262e47bf5 (patch) | |
tree | 0cbe2d3d726b0a1d135ccad71869e5e9cb111e6b /spec/cache | |
parent | 52e329f4385b73923a343e413cd36f7323448e6d (diff) | |
download | bundler-0bc4970769f178e80a0ad149c433e25262e47bf5.tar.gz |
Always pass the `--all` flag when neededremove_bundle_update_deprecations
Diffstat (limited to 'spec/cache')
-rw-r--r-- | spec/cache/gems_spec.rb | 2 | ||||
-rw-r--r-- | spec/cache/git_spec.rb | 2 | ||||
-rw-r--r-- | spec/cache/platform_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb index f60dea7a22..4fc43a50a0 100644 --- a/spec/cache/gems_spec.rb +++ b/spec/cache/gems_spec.rb @@ -196,7 +196,7 @@ RSpec.describe "bundle cache" do it "adds and removes when gems are updated" do update_repo2 - bundle "update", :all => bundle_update_requires_all? + bundle "update", :all => true expect(cached_gem("rack-1.2")).to exist expect(cached_gem("rack-1.0.0")).not_to exist end diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb index 7aa4267ac2..4ed519b9d6 100644 --- a/spec/cache/git_spec.rb +++ b/spec/cache/git_spec.rb @@ -81,7 +81,7 @@ end ref = git.ref_for("master", 11) expect(ref).not_to eq(old_ref) - bundle! "update", :all => bundle_update_requires_all? + bundle! "update", :all => true bundle! "#{cmd}", forgotten_command_line_options([:all, :cache_all] => true) expect(bundled_app("vendor/cache/foo-1.0-#{ref}")).to exist diff --git a/spec/cache/platform_spec.rb b/spec/cache/platform_spec.rb index c0622a3c94..b3c4643ef5 100644 --- a/spec/cache/platform_spec.rb +++ b/spec/cache/platform_spec.rb @@ -41,7 +41,7 @@ RSpec.describe "bundle cache with multiple platforms" do end it "ensures that a successful bundle update does not delete gems for other platforms" do - bundle! "update", :all => bundle_update_requires_all? + bundle! "update", :all => true expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist expect(bundled_app("vendor/cache/activesupport-2.3.5.gem")).to exist |