summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_help_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-13 20:19:08 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-13 20:19:33 +0900
commit82cc2843a92b286cc13afd0860a4e111d4ea2a0b (patch)
treea517dedd40d35540930cea7732f5a36e76a549e8 /test/rubygems/test_gem_commands_help_command.rb
parent26774351dc5f494253ba031e4bc453dc4dddb2cf (diff)
Prepare to release RubyGems 3.1.0 final version.
Diffstat (limited to 'test/rubygems/test_gem_commands_help_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_help_command.rb b/test/rubygems/test_gem_commands_help_command.rb
index 8fcff6b1e7..f2a519775c 100644
--- a/test/rubygems/test_gem_commands_help_command.rb
+++ b/test/rubygems/test_gem_commands_help_command.rb
@@ -4,20 +4,15 @@ require "rubygems/test_case"
require "rubygems/commands/help_command"
require "rubygems/package"
require "rubygems/command_manager"
-require File.expand_path('../rubygems_plugin', __FILE__)
class TestGemCommandsHelpCommand < Gem::TestCase
- # previously this was calc'd in setup, but 1.8.7 had
- # intermittent failures, but no issues with above require
- PLUGIN = File.expand_path('../rubygems_plugin.rb', __FILE__)
-
def setup
super
@cmd = Gem::Commands::HelpCommand.new
- load PLUGIN unless Gem::Commands.const_defined? :InterruptCommand
+ load File.expand_path('../rubygems_plugin.rb', __FILE__) unless Gem::Commands.const_defined? :InterruptCommand
end
def test_gem_help_bad