summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan <jonacom@lissismore.com>2019-01-23 15:49:02 -0500
committerJonathan <jonacom@lissismore.com>2019-01-23 15:49:02 -0500
commite37d52454f68a2234b89a56c18a5b13a4f6a1ef4 (patch)
tree30c67df5841d036bc1069f422e83d7d99fd150e9
parent1930f20690d8a2d34fbd255794d329e08c1335ef (diff)
downloadbundler-e37d52454f68a2234b89a56c18a5b13a4f6a1ef4.tar.gz
fix rubocop offenses
-rw-r--r--spec/bundler/fetcher/downloader_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/fetcher/downloader_spec.rb b/spec/bundler/fetcher/downloader_spec.rb
index b4b6dc4f03..5da9926472 100644
--- a/spec/bundler/fetcher/downloader_spec.rb
+++ b/spec/bundler/fetcher/downloader_spec.rb
@@ -4,7 +4,7 @@ RSpec.describe Bundler::Fetcher::Downloader do
let(:connection) { double(:connection) }
let(:redirect_limit) { 5 }
let(:uri) { URI("http://www.uri-to-fetch.com/api/v2/endpoint") }
- let(:uri_with_creds) { URI("http://user:password@uri-to-fetch.com/api/v2/endpoint")}
+ let(:uri_with_creds) { URI("http://user:password@uri-to-fetch.com/api/v2/endpoint") }
let(:options) { double(:options) }
subject { described_class.new(connection, redirect_limit) }
@@ -89,7 +89,7 @@ RSpec.describe Bundler::Fetcher::Downloader do
it "should raise a Bundler::Fetcher::BadAuthenticationError that doesn't contain the password" do
expect { subject.fetch(uri, options, counter) }.
- to raise_error(Bundler::Fetcher::BadAuthenticationError, %r{Bad username or password for www.uri-to-fetch.com})
+ to raise_error(Bundler::Fetcher::BadAuthenticationError, /Bad username or password for www.uri-to-fetch.com/)
end
end
end