diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-06-17 19:58:50 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-07-02 10:34:19 +0900 |
| commit | 75cdf696e76a786c523550886c283f378acff357 (patch) | |
| tree | d0c717209e22344f824c56a711294011ce5af52e | |
| parent | 7f057e13e0f5721b9bb3c9b1561aabfc1a9582dd (diff) | |
[rubygems/rubygems] Fix typos
https://github.com/rubygems/rubygems/commit/2a2317249f
| -rw-r--r-- | spec/bundler/bundler/fetcher/downloader_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/bundler/fetcher/downloader_spec.rb b/spec/bundler/bundler/fetcher/downloader_spec.rb index 6164025ac6..40ae7109ab 100644 --- a/spec/bundler/bundler/fetcher/downloader_spec.rb +++ b/spec/bundler/bundler/fetcher/downloader_spec.rb @@ -88,7 +88,7 @@ RSpec.describe Bundler::Fetcher::Downloader do /`bundle config set --global www\.uri-to-fetch\.com username:password`.*`BUNDLE_WWW__URI___TO___FETCH__COM`/m) end - context "when the there are credentials provided in the request" do + context "when there are credentials provided in the request" do let(:uri) { Gem::URI("http://user:password@www.uri-to-fetch.com") } it "should raise a Bundler::Fetcher::BadAuthenticationError that doesn't contain the password" do @@ -116,7 +116,7 @@ RSpec.describe Bundler::Fetcher::Downloader do to raise_error(Bundler::Fetcher::FallbackError, "Gem::Net::HTTPNotFound: http://www.uri-to-fetch.com/api/v2/endpoint") end - context "when the there are credentials provided in the request" do + context "when there are credentials provided in the request" do let(:uri) { Gem::URI("http://username:password@www.uri-to-fetch.com/api/v2/endpoint") } it "should raise a Bundler::Fetcher::FallbackError that doesn't contain the password" do @@ -233,7 +233,7 @@ RSpec.describe Bundler::Fetcher::Downloader do "Network error while fetching http://www.uri-to-fetch.com/api/v2/endpoint (other error about network)") end - context "when the there are credentials provided in the request" do + context "when there are credentials provided in the request" do let(:uri) { Gem::URI("http://username:password@www.uri-to-fetch.com/api/v2/endpoint") } before do allow(net_http_get).to receive(:basic_auth).with("username", "password") |
