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/install/gemfile | |
parent | 52e329f4385b73923a343e413cd36f7323448e6d (diff) | |
download | bundler-0bc4970769f178e80a0ad149c433e25262e47bf5.tar.gz |
Always pass the `--all` flag when neededremove_bundle_update_deprecations
Diffstat (limited to 'spec/install/gemfile')
-rw-r--r-- | spec/install/gemfile/git_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index c3bcc28ec8..f017290441 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -294,7 +294,7 @@ RSpec.describe "bundle install with git sources" do G # ensure we also git fetch after cloning - bundle! :update, :all => bundle_update_requires_all? + bundle! :update, :all => true Dir.chdir(Dir[home(".bundle/cache/git/foo-*")].first) do sys_exec("git ls-remote .") @@ -814,14 +814,14 @@ RSpec.describe "bundle install with git sources" do s.write "lib/forced.rb", "FORCED = '1.1'" end - bundle "update", :all => bundle_update_requires_all? + bundle "update", :all => true expect(the_bundle).to include_gems "forced 1.1" Dir.chdir(lib_path("forced-1.0")) do `git reset --hard HEAD^` end - bundle "update", :all => bundle_update_requires_all? + bundle "update", :all => true expect(the_bundle).to include_gems "forced 1.0" end @@ -1378,7 +1378,7 @@ In Gemfile: G with_path_as("") do - bundle "update", :all => bundle_update_requires_all? + bundle "update", :all => true end expect(last_command.bundler_err). to include("You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git") |