summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_outdated_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_outdated_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_outdated_command.rb b/test/rubygems/test_gem_commands_outdated_command.rb
index d369c6b14b..1bc5acc1f4 100644
--- a/test/rubygems/test_gem_commands_outdated_command.rb
+++ b/test/rubygems/test_gem_commands_outdated_command.rb
@@ -15,9 +15,8 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase
def test_execute
spec_fetcher do |fetcher|
- fetcher.spec 'foo', '1.0'
- fetcher.spec 'foo', '2.0'
- fetcher.clear
+ fetcher.download 'foo', '1.0'
+ fetcher.download 'foo', '2.0'
fetcher.gem 'foo', '0.1'
fetcher.gem 'foo', '0.2'
end