diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-12 17:34:39 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-12 17:34:39 +0100 |
commit | 58bec9e2911fdc43187854ea225060ccdb4eb38a (patch) | |
tree | 548492f8860f8147851b6847ed7c23e97f5f3cbe /spec/install/gems | |
parent | 0465f07dfe7e49084ac47972aef79fc9d8ecd8e4 (diff) | |
download | bundler-58bec9e2911fdc43187854ea225060ccdb4eb38a.tar.gz |
Don't load default URI gem during specs
Diffstat (limited to 'spec/install/gems')
-rw-r--r-- | spec/install/gems/compact_index_spec.rb | 2 | ||||
-rw-r--r-- | spec/install/gems/dependency_api_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb index 3f85e9ee38..be6c01aee9 100644 --- a/spec/install/gems/compact_index_spec.rb +++ b/spec/install/gems/compact_index_spec.rb @@ -645,7 +645,7 @@ The checksum of /versions does not match the checksum provided by the server! So let(:user) { "user" } let(:password) { "pass" } let(:basic_auth_source_uri) do - uri = URI.parse(source_uri) + uri = Bundler::URI.parse(source_uri) uri.user = user uri.password = password diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb index 6791ff846c..78cca5f8b7 100644 --- a/spec/install/gems/dependency_api_spec.rb +++ b/spec/install/gems/dependency_api_spec.rb @@ -615,7 +615,7 @@ RSpec.describe "gemcutter's dependency API" do let(:user) { "user" } let(:password) { "pass" } let(:basic_auth_source_uri) do - uri = URI.parse(source_uri) + uri = Bundler::URI.parse(source_uri) uri.user = user uri.password = password |