diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-03 20:45:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (patch) | |
tree | 14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/cache/gems_spec.rb | |
parent | 481840ff18b2d66b20a42240829e06829c34f8f7 (diff) |
[rubygems/rubygems] s/bundle!/bundle
https://github.com/rubygems/rubygems/commit/746a4b3d74
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/cache/gems_spec.rb')
-rw-r--r-- | spec/bundler/cache/gems_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/bundler/cache/gems_spec.rb b/spec/bundler/cache/gems_spec.rb index cba07b3077..8d7470836d 100644 --- a/spec/bundler/cache/gems_spec.rb +++ b/spec/bundler/cache/gems_spec.rb @@ -8,7 +8,7 @@ RSpec.describe "bundle cache" do G system_gems "rack-1.0.0", :path => path - bundle! :cache + bundle :cache end it "copies the .gem file to vendor/cache" do @@ -56,7 +56,7 @@ RSpec.describe "bundle cache" do s.write "lib/rack.rb", "RACK = 'FAIL'" end - bundle! :install, :local => true + bundle :install, :local => true expect(the_bundle).to include_gems("rack 1.0.0") end @@ -74,13 +74,13 @@ RSpec.describe "bundle cache" do end context "using system gems" do - before { bundle! "config set path.system true" } + before { bundle "config set path.system true" } let(:path) { system_gem_path } it_behaves_like "when there are only gemsources" end context "installing into a local path" do - before { bundle! "config set path ./.bundle" } + before { bundle "config set path ./.bundle" } let(:path) { local_gem_path } it_behaves_like "when there are only gemsources" end @@ -99,7 +99,7 @@ RSpec.describe "bundle cache" do end it "uses builtin gems when installing to system gems" do - bundle! "config set 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 @@ -131,7 +131,7 @@ RSpec.describe "bundle cache" do end it "errors if the builtin gem isn't available to cache" do - bundle! "config set path.system true" + bundle "config set path.system true" install_gemfile <<-G gem 'builtin_gem', '1.0.2' |