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.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/rubygems/test_gem_commands_outdated_command.rb b/test/rubygems/test_gem_commands_outdated_command.rb
index eee273af5c..d369c6b14b 100644
--- a/test/rubygems/test_gem_commands_outdated_command.rb
+++ b/test/rubygems/test_gem_commands_outdated_command.rb
@@ -17,13 +17,11 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase
spec_fetcher do |fetcher|
fetcher.spec 'foo', '1.0'
fetcher.spec 'foo', '2.0'
+ fetcher.clear
+ fetcher.gem 'foo', '0.1'
+ fetcher.gem 'foo', '0.2'
end
- quick_gem 'foo', '0.1'
- quick_gem 'foo', '0.2'
-
- Gem::Specification.reset
-
use_ui @ui do
@cmd.execute
end