diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-06-24 11:23:21 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-06-27 16:27:22 -0500 |
commit | 7645e54878c09fb1a89640df9b66ae0d8a8a3c12 (patch) | |
tree | e4b2a899b326f662cef5a0c94760bdc28f8ac9cf | |
parent | 40626943d2c0a668c8c3b0fefc7193841f749b46 (diff) | |
download | bundler-7645e54878c09fb1a89640df9b66ae0d8a8a3c12.tar.gz |
Update downloader spec for URL in 404 error message
-rw-r--r-- | spec/bundler/fetcher/downloader_spec.rb | 2 |
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 |