diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-28 15:57:12 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-12-21 18:02:10 +0100 |
commit | 7782a06eb7b249e5908b922adb63ace7f6045434 (patch) | |
tree | 7a7f296f2ca47946a3a62afa31f5b5d6587f1efa | |
parent | e1514acaedc1d051439fe308f6310633c2b57edc (diff) | |
download | bundler-7782a06eb7b249e5908b922adb63ace7f6045434.tar.gz |
Avoid using the Fail endpoint when we want to request against localhost
-rw-r--r-- | spec/commands/install_spec.rb | 4 |
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 |