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/install/path_spec.rb | |
parent | 53989a9812338b804f2c951b6077dfe296d72a99 (diff) | |
download | bundler-4e97ae584917bdd86e3aeb453d8cc0e73c088eb6.tar.gz |
Remove `bundle config` deprecations from specsremove_bundle_config_deprecations
Diffstat (limited to 'spec/install/path_spec.rb')
-rw-r--r-- | spec/install/path_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb index 8127c853c3..c645ba18a3 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -51,7 +51,7 @@ RSpec.describe "bundle install" do end context "with path_relative_to_cwd set to true" do - before { bundle! "config path_relative_to_cwd true" } + before { bundle! "config set path_relative_to_cwd true" } it "installs the bundle relatively to current working directory", :bundler => "< 2" do Dir.chdir(bundled_app.parent) do @@ -98,7 +98,7 @@ RSpec.describe "bundle install" do if type == :env ENV["BUNDLE_PATH"] = location elsif type == :global - bundle! "config path #{location}", "no-color" => nil + bundle! "config set path #{location}", "no-color" => nil end end @@ -116,7 +116,7 @@ RSpec.describe "bundle install" do context "with global_path_appends_ruby_scope set", :bundler => "2" do it "installs gems to ." do set_bundle_path(type, ".") - bundle! "config --global disable_shared_gems true" + bundle! "config set --global disable_shared_gems true" bundle! :install @@ -150,7 +150,7 @@ RSpec.describe "bundle install" do context "with global_path_appends_ruby_scope unset", :bundler => "< 2" do it "installs gems to ." do set_bundle_path(type, ".") - bundle! "config --global disable_shared_gems true" + bundle! "config set --global disable_shared_gems true" bundle! :install |