summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_request_set_lockfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_request_set_lockfile.rb')
-rw-r--r--test/rubygems/test_gem_request_set_lockfile.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_request_set_lockfile.rb b/test/rubygems/test_gem_request_set_lockfile.rb
index 6d5b4de..3b85e25 100644
--- a/test/rubygems/test_gem_request_set_lockfile.rb
+++ b/test/rubygems/test_gem_request_set_lockfile.rb
@@ -338,13 +338,11 @@ DEPENDENCIES
def test_to_s_gem_source
spec_fetcher do |fetcher|
- fetcher.spec 'a', 2
- fetcher.clear
+ fetcher.download 'a', 2
end
spec_fetcher 'http://other.example/' do |fetcher|
- fetcher.spec 'b', 2
- fetcher.clear
+ fetcher.download 'b', 2
end
Gem.sources << 'http://other.example/'