summaryrefslogtreecommitdiff
path: root/test/rubygems
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2020-04-19 07:41:54 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 07:38:50 +0900
commit7db538a7c92bcbcccb97d2ffcf505bee4d85e7d3 (patch)
treef39b14d36e148245a1b91f09b3bd0db1c2f4e1eb /test/rubygems
parent361ed8d0a65df513f527c62539abb71b4c34a006 (diff)
[rubygems/rubygems] Rename version horizon deprecation methods
https://github.com/rubygems/rubygems/commit/6afd914fda
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3087
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_deprecate.rb6
-rw-r--r--test/rubygems/test_gem_command_manager.rb2
2 files changed, 4 insertions, 4 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!"
diff --git a/test/rubygems/test_gem_command_manager.rb b/test/rubygems/test_gem_command_manager.rb
index 497ff1e208..867592a7f4 100644
--- a/test/rubygems/test_gem_command_manager.rb
+++ b/test/rubygems/test_gem_command_manager.rb
@@ -281,7 +281,7 @@ class TestGemCommandManager < Gem::TestCase
foo_command = Class.new(Gem::Command) do
extend Gem::Deprecate
- deprecate_command
+ rubygems_deprecate_command
def execute
say "pew pew!"