mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
481840ff18
commit
1436b5026c
Notes:
git
2020-06-18 19:15:06 +09:00
65 changed files with 659 additions and 659 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue