summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-24 11:23:21 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-27 16:27:22 -0500
commit7645e54878c09fb1a89640df9b66ae0d8a8a3c12 (patch)
treee4b2a899b326f662cef5a0c94760bdc28f8ac9cf
parent40626943d2c0a668c8c3b0fefc7193841f749b46 (diff)
downloadbundler-7645e54878c09fb1a89640df9b66ae0d8a8a3c12.tar.gz
Update downloader spec for URL in 404 error message
-rw-r--r--spec/bundler/fetcher/downloader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/fetcher/downloader_spec.rb b/spec/bundler/fetcher/downloader_spec.rb
index 04793d2a9c..f7631ef408 100644
--- a/spec/bundler/fetcher/downloader_spec.rb
+++ b/spec/bundler/fetcher/downloader_spec.rb
@@ -89,7 +89,7 @@ describe Bundler::Fetcher::Downloader do
let(:http_response) { Net::HTTPNotFound.new("1.1", 404, "Not Found") }
it "should raise a Bundler::Fetcher::FallbackError with Net::HTTPNotFound" do
- expect { subject.fetch(uri, options, counter) }.to raise_error(Bundler::Fetcher::FallbackError, "Net::HTTPNotFound")
+ expect { subject.fetch(uri, options, counter) }.to raise_error(Bundler::Fetcher::FallbackError, "Net::HTTPNotFound (#{uri})")
end
end