summaryrefslogtreecommitdiff
path: root/spec/bundler/realworld/mirror_probe_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/realworld/mirror_probe_spec.rb')
-rw-r--r--spec/bundler/realworld/mirror_probe_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/realworld/mirror_probe_spec.rb b/spec/bundler/realworld/mirror_probe_spec.rb
index 735fb2b3dd..626092c7eb 100644
--- a/spec/bundler/realworld/mirror_probe_spec.rb
+++ b/spec/bundler/realworld/mirror_probe_spec.rb
@@ -71,7 +71,7 @@ RSpec.describe "fetching dependencies with a not available mirror", :realworld =
gem 'weakling'
G
- bundle :install, :artifice => nil
+ bundle :install, :artifice => nil, :raise_on_error => false
expect(out).to include("Fetching source index from #{mirror}")
expect(err).to include("Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from #{mirror}")
@@ -86,7 +86,7 @@ RSpec.describe "fetching dependencies with a not available mirror", :realworld =
gem 'weakling'
G
- bundle :install, :artifice => nil
+ bundle :install, :artifice => nil, :raise_on_error => false
expect(out).to include "Fetching source index from #{mirror}/"
expect(err).to include <<-EOS.strip
@@ -109,7 +109,7 @@ Could not fetch specs from #{mirror}/
gem 'weakling'
G
- bundle :install, :artifice => nil
+ bundle :install, :artifice => nil, :raise_on_error => false
expect(out).to include("Fetching source index from #{mirror}")
expect(err).to include("Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from #{mirror}")