summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-11-28 15:57:12 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-12-21 18:02:10 +0100
commit7782a06eb7b249e5908b922adb63ace7f6045434 (patch)
tree7a7f296f2ca47946a3a62afa31f5b5d6587f1efa
parente1514acaedc1d051439fe308f6310633c2b57edc (diff)
downloadbundler-7782a06eb7b249e5908b922adb63ace7f6045434.tar.gz
Avoid using the Fail endpoint when we want to request against localhost
-rw-r--r--spec/commands/install_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 457fec26cb..0d05766eeb 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -314,14 +314,14 @@ describe "bundle install with gem sources" do
end
it "gracefully handles error when rubygems server is unavailable" do
- install_gemfile <<-G
+ install_gemfile <<-G, :artifice => nil
source "file://#{gem_repo1}"
source "http://localhost:9384"
gem 'foo'
G
- bundle :install
+ bundle :install, :artifice => nil
expect(out).to include("Could not fetch specs from http://localhost:9384/")
expect(out).not_to include("file://")
end