summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_server.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-03 22:15:47 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-03 22:15:47 +0000
commit90dfc8f99e774e5ed71b4ed09a14bb75febca936 (patch)
tree0af79c194babaff80ac2edc9b69f9d5df654e704 /test/rubygems/test_gem_server.rb
parent9167328359b472b7aacd1afda2118cff702d3d3a (diff)
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_server.rb')
-rw-r--r--test/rubygems/test_gem_server.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_server.rb b/test/rubygems/test_gem_server.rb
index 82b3a5c948..f11840db06 100644
--- a/test/rubygems/test_gem_server.rb
+++ b/test/rubygems/test_gem_server.rb
@@ -33,7 +33,7 @@ class TestGemServer < Gem::TestCase
data = StringIO.new "GET /Marshal.#{Gem.marshal_version} HTTP/1.0\r\n\r\n"
@req.parse data
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
@server.Marshal @req, @res
end
@@ -41,7 +41,7 @@ class TestGemServer < Gem::TestCase
assert_match %r| \d\d:\d\d:\d\d |, @res['date']
assert_equal 'application/octet-stream', @res['content-type']
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
si = Gem::SourceIndex.new
si.add_specs @a1, @a2
@@ -53,7 +53,7 @@ class TestGemServer < Gem::TestCase
data = StringIO.new "GET /Marshal.#{Gem.marshal_version}.Z HTTP/1.0\r\n\r\n"
@req.parse data
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
@server.Marshal @req, @res
end
@@ -61,7 +61,7 @@ class TestGemServer < Gem::TestCase
assert_match %r| \d\d:\d\d:\d\d |, @res['date']
assert_equal 'application/x-deflate', @res['content-type']
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
si = Gem::SourceIndex.new
si.add_specs @a1, @a2
@@ -73,7 +73,7 @@ class TestGemServer < Gem::TestCase
data = StringIO.new "GET /latest_specs.#{Gem.marshal_version} HTTP/1.0\r\n\r\n"
@req.parse data
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
@server.latest_specs @req, @res
end
@@ -88,7 +88,7 @@ class TestGemServer < Gem::TestCase
data = StringIO.new "GET /latest_specs.#{Gem.marshal_version}.gz HTTP/1.0\r\n\r\n"
@req.parse data
- Deprecate.skip_during do
+ Gem::Deprecate.skip_during do
@server.latest_specs @req, @res
end