diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-20 09:59:04 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-29 22:04:51 +0100 |
commit | 4e97ae584917bdd86e3aeb453d8cc0e73c088eb6 (patch) | |
tree | 6b4c6acc6db86472a8b2ebd8e45b211a8265fe0c /spec/update | |
parent | 53989a9812338b804f2c951b6077dfe296d72a99 (diff) | |
download | bundler-4e97ae584917bdd86e3aeb453d8cc0e73c088eb6.tar.gz |
Remove `bundle config` deprecations from specsremove_bundle_config_deprecations
Diffstat (limited to 'spec/update')
-rw-r--r-- | spec/update/gemfile_spec.rb | 2 | ||||
-rw-r--r-- | spec/update/gems/post_install_spec.rb | 2 | ||||
-rw-r--r-- | spec/update/git_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/update/gemfile_spec.rb b/spec/update/gemfile_spec.rb index 6bab457a76..912c859799 100644 --- a/spec/update/gemfile_spec.rb +++ b/spec/update/gemfile_spec.rb @@ -48,7 +48,7 @@ RSpec.describe "bundle update" do end context "with prefer_gems_rb set" do - before { bundle! "config prefer_gems_rb true" } + before { bundle! "config set prefer_gems_rb true" } it "prefers gems.rb to Gemfile" do create_file("gems.rb", "gem 'bundler'") diff --git a/spec/update/gems/post_install_spec.rb b/spec/update/gems/post_install_spec.rb index 2fb3547806..90f8e29fcc 100644 --- a/spec/update/gems/post_install_spec.rb +++ b/spec/update/gems/post_install_spec.rb @@ -10,7 +10,7 @@ RSpec.describe "bundle update" do gem 'thin' G - bundle! "config #{config}" if config + bundle! "config set #{config}" if config bundle! :install end diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb index a09805bef0..052b0f7960 100644 --- a/spec/update/git_spec.rb +++ b/spec/update/git_spec.rb @@ -208,7 +208,7 @@ RSpec.describe "bundle update" do gem "rack", :git => "#{lib_path("rack-0.8")}", :branch => "master" G - bundle %(config local.rack #{lib_path("local-rack")}) + bundle %(config set local.rack #{lib_path("local-rack")}) bundle "update rack" expect(out).to include("Bundle updated!") end |