aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_outdated_command.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-12 00:16:41 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-12 00:16:41 +0000
commit44d0a6dcd7563526a8b05ccdfa21d9425b94e62b (patch)
treee3bc8e5f1284e65a70c61de9a9d349d5fc8a8640 /test/rubygems/test_gem_commands_outdated_command.rb
parent8f3934261ad4a7f486d2fffa9c961d7535675d8f (diff)
downloadruby-44d0a6dcd7563526a8b05ccdfa21d9425b94e62b.tar.gz
* lib/rubygems: Update to RubyGems master b9213d7. Changes include:
Fixed tests on Windows (I hope) by forcing platform for platform-dependent tests. Fixed File.exists? warnings. Improved testing infrastructure. * test/rubygems: ditto. * test/rdoc/test_rdoc_rubygems_hook.rb: Switch to util_spec like RubyGems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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