-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
looks like httpclient behaves differently when 'addressable' is available and webmock depends on it, but productized image does not have test only dependencies like that
- Loading branch information
Showing
4 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,10 @@ class AbstractAdapterTest < ActiveSupport::TestCase | |
assert_equal uri, | ||
subject.new('http://id:[email protected]:3000/auth/realm/name/').endpoint | ||
end | ||
|
||
test 'http_client' do | ||
HTTPClient::Util.stub_const(:AddressableEnabled, false) do | ||
assert_kind_of subject, subject.new('http://id:[email protected]') | ||
end | ||
end | ||
end |