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/cache | |
parent | 53989a9812338b804f2c951b6077dfe296d72a99 (diff) | |
download | bundler-4e97ae584917bdd86e3aeb453d8cc0e73c088eb6.tar.gz |
Remove `bundle config` deprecations from specsremove_bundle_config_deprecations
Diffstat (limited to 'spec/cache')
-rw-r--r-- | spec/cache/gems_spec.rb | 8 | ||||
-rw-r--r-- | spec/cache/git_spec.rb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb index 5c184c81f3..f60dea7a22 100644 --- a/spec/cache/gems_spec.rb +++ b/spec/cache/gems_spec.rb @@ -74,12 +74,12 @@ RSpec.describe "bundle cache" do end context "using system gems" do - before { bundle! "config path.system true" } + before { bundle! "config set path.system true" } it_behaves_like "when there are only gemsources" end context "installing into a local path" do - before { bundle! "config path ./.bundle" } + before { bundle! "config set path ./.bundle" } it_behaves_like "when there are only gemsources" end @@ -97,7 +97,7 @@ RSpec.describe "bundle cache" do end it "uses builtin gems when installing to system gems" do - bundle! "config path.system true" + bundle! "config set path.system true" install_gemfile %(gem 'builtin_gem', '1.0.2') expect(the_bundle).to include_gems("builtin_gem 1.0.2") end @@ -129,7 +129,7 @@ RSpec.describe "bundle cache" do end it "errors if the builtin gem isn't available to cache" do - bundle! "config path.system true" + bundle! "config set path.system true" install_gemfile <<-G gem 'builtin_gem', '1.0.2' diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb index 33387dbbb2..7aa4267ac2 100644 --- a/spec/cache/git_spec.rb +++ b/spec/cache/git_spec.rb @@ -127,7 +127,7 @@ end gem "foo", :git => '#{lib_path("foo-invalid")}', :branch => :master G - bundle %(config local.foo #{lib_path("foo-1.0")}) + bundle %(config set local.foo #{lib_path("foo-1.0")}) bundle "install" bundle "#{cmd}", forgotten_command_line_options([:all, :cache_all] => true) |