diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-12 00:16:41 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-12 00:16:41 +0000 |
commit | 44d0a6dcd7563526a8b05ccdfa21d9425b94e62b (patch) | |
tree | e3bc8e5f1284e65a70c61de9a9d349d5fc8a8640 /test/rubygems/test_gem_server.rb | |
parent | 8f3934261ad4a7f486d2fffa9c961d7535675d8f (diff) | |
download | ruby-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_server.rb')
-rw-r--r-- | test/rubygems/test_gem_server.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_server.rb b/test/rubygems/test_gem_server.rb index bf30399db2..b55b019268 100644 --- a/test/rubygems/test_gem_server.rb +++ b/test/rubygems/test_gem_server.rb @@ -89,7 +89,7 @@ class TestGemServer < Gem::TestCase data = StringIO.new "GET /latest_specs.#{Gem.marshal_version} HTTP/1.0\r\n\r\n" dir = "#{@gemhome}2" - spec = quick_spec 'z', 9 + spec = util_spec 'z', 9 specs_dir = File.join dir, 'specifications' FileUtils.mkdir_p specs_dir @@ -156,7 +156,7 @@ class TestGemServer < Gem::TestCase assert_equal 404, @res.status - spec = quick_spec 'z', 9 + spec = util_spec 'z', 9 specs_dir = File.join dir, 'specifications' @@ -249,7 +249,7 @@ class TestGemServer < Gem::TestCase data = StringIO.new "GET / HTTP/1.0\r\n\r\n" dir = "#{@gemhome}2" - spec = quick_spec 'z', 9 + spec = util_spec 'z', 9 specs_dir = File.join dir, 'specifications' FileUtils.mkdir_p specs_dir @@ -287,7 +287,7 @@ class TestGemServer < Gem::TestCase data = StringIO.new "GET /specs.#{Gem.marshal_version} HTTP/1.0\r\n\r\n" dir = "#{@gemhome}2" - spec = quick_spec 'z', 9 + spec = util_spec 'z', 9 specs_dir = File.join dir, 'specifications' FileUtils.mkdir_p specs_dir |