summaryrefslogtreecommitdiff
path: root/spec/runtime
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-20 09:59:04 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-29 22:04:51 +0100
commit4e97ae584917bdd86e3aeb453d8cc0e73c088eb6 (patch)
tree6b4c6acc6db86472a8b2ebd8e45b211a8265fe0c /spec/runtime
parent53989a9812338b804f2c951b6077dfe296d72a99 (diff)
downloadbundler-4e97ae584917bdd86e3aeb453d8cc0e73c088eb6.tar.gz
Remove `bundle config` deprecations from specsremove_bundle_config_deprecations
Diffstat (limited to 'spec/runtime')
-rw-r--r--spec/runtime/platform_spec.rb4
-rw-r--r--spec/runtime/setup_spec.rb10
2 files changed, 7 insertions, 7 deletions
diff --git a/spec/runtime/platform_spec.rb b/spec/runtime/platform_spec.rb
index eecf162427..11fe16f499 100644
--- a/spec/runtime/platform_spec.rb
+++ b/spec/runtime/platform_spec.rb
@@ -93,7 +93,7 @@ RSpec.describe "Bundler.setup with multi platform stuff" do
gem "platform_specific"
G
- bundle! "config force_ruby_platform true"
+ bundle! "config set force_ruby_platform true"
bundle! "install"
@@ -108,7 +108,7 @@ RSpec.describe "Bundler.setup with multi platform stuff" do
gem "platform_specific"
G
- bundle! "config force_ruby_platform true"
+ bundle! "config set force_ruby_platform true"
bundle! "install"
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 87ef96565d..2816410a7e 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -527,7 +527,7 @@ RSpec.describe "Bundler.setup" 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! :install
FileUtils.rm_rf(lib_path("local-rack"))
@@ -545,7 +545,7 @@ RSpec.describe "Bundler.setup" 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! :install
gemfile <<-G
@@ -567,7 +567,7 @@ RSpec.describe "Bundler.setup" 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! :install
gemfile <<-G
@@ -594,7 +594,7 @@ RSpec.describe "Bundler.setup" do
gem "rack", :git => "#{lib_path("rack-0.8")}", :ref => "master", :branch => "nonexistant"
G
- bundle %(config local.rack #{lib_path("local-rack")})
+ bundle %(config set local.rack #{lib_path("local-rack")})
run "require 'rack'"
expect(last_command.stderr).to match(/is using branch master but Gemfile specifies nonexistant/)
end
@@ -980,7 +980,7 @@ end
describe "with system gems in the bundle" do
before :each do
- bundle! "config path.system true"
+ bundle! "config set path.system true"
system_gems "rack-1.0.0"
install_gemfile <<-G