diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 00:27:02 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 00:27:02 +0000 |
commit | 615ac3593499f54fde4b1eb0fba66b6bd944821b (patch) | |
tree | 1f0b0e97ee3dd51798658d53cee7eec976a83a97 /lib/rubygems/test_utilities.rb | |
parent | ff31b35f6a66f3c1548e3356d506ff65a574be7f (diff) |
Merge rubygems master branch from github.com/rubygems/rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/test_utilities.rb')
-rw-r--r-- | lib/rubygems/test_utilities.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/rubygems/test_utilities.rb b/lib/rubygems/test_utilities.rb index 3e17973dd4..1ec142937a 100644 --- a/lib/rubygems/test_utilities.rb +++ b/lib/rubygems/test_utilities.rb @@ -25,17 +25,11 @@ class Gem::FakeFetcher attr_reader :data attr_reader :last_request - attr_reader :api_endpoints attr_accessor :paths def initialize @data = {} @paths = [] - @api_endpoints = {} - end - - def api_endpoint(uri) - @api_endpoints[uri] || uri end def find_data(path) @@ -111,14 +105,6 @@ class Gem::FakeFetcher q.breakable q.pp @data.keys - - unless @api_endpoints.empty? then - q.breakable - q.text 'API endpoints:' - - q.breakable - q.pp @api_endpoints.keys - end end end |