1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] s/bundle!/bundle

746a4b3d74
This commit is contained in:
David Rodríguez 2020-06-03 20:45:36 +02:00 committed by Hiroshi SHIBATA
parent 481840ff18
commit 1436b5026c
Notes: git 2020-06-18 19:15:06 +09:00
65 changed files with 659 additions and 659 deletions

View file

@ -28,7 +28,7 @@ RSpec.describe "bundle install with :allow_offline_install" do
it "will install from the compact index" do
system_gems ["rack-1.0.0"], :path => default_bundle_path
bundle! "config set clean false"
bundle "config set clean false"
install_gemfile! <<-G, :artifice => "compact_index"
source "http://testgemserver.local"
gem "rack-obama"
@ -42,7 +42,7 @@ RSpec.describe "bundle install with :allow_offline_install" do
gem "rack-obama"
G
bundle! :update, :artifice => "fail", :all => true
bundle :update, :artifice => "fail", :all => true
expect(last_command.stdboth).to include "Using the cached data for the new index because of a network error"
expect(the_bundle).to include_gems("rack-obama 1.0", "rack 1.0.0")
@ -78,7 +78,7 @@ RSpec.describe "bundle install with :allow_offline_install" do
gem "a", :git => #{git.path.to_s.dump}
G
break_git_remote_ops! { bundle! :update, :all => true }
break_git_remote_ops! { bundle :update, :all => true }
expect(err).to include("Using cached git data because of network errors")
expect(the_bundle).to be_locked