summaryrefslogtreecommitdiff
path: root/test/rubygems/test_deprecate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_deprecate.rb')
-rw-r--r--test/rubygems/test_deprecate.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_deprecate.rb b/test/rubygems/test_deprecate.rb
index 15b501d4d2..27f72431b0 100644
--- a/test/rubygems/test_deprecate.rb
+++ b/test/rubygems/test_deprecate.rb
@@ -50,7 +50,7 @@ class TestDeprecate < Gem::TestCase
def bar
@message = "bar"
end
- deprecate :foo, :bar
+ rubygems_deprecate :foo, :bar
end
@@ -73,12 +73,12 @@ class TestDeprecate < Gem::TestCase
assert_match(/in Rubygems [0-9]+/, err)
end
- def test_deprecate_command
+ def test_rubygems_deprecate_command
require 'rubygems/command'
foo_command = Class.new(Gem::Command) do
extend Gem::Deprecate
- deprecate_command
+ rubygems_deprecate_command
def execute
puts "pew pew!"