summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_contents_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_contents_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb
index e865e29af0..6b9750e861 100644
--- a/test/rubygems/test_gem_commands_contents_command.rb
+++ b/test/rubygems/test_gem_commands_contents_command.rb
@@ -4,10 +4,10 @@
# File a patch instead and assign it to Ryan Davis or Eric Hodel.
######################################################################
-require "test/rubygems/gemutilities"
+require 'rubygems/test_case'
require 'rubygems/commands/contents_command'
-class TestGemCommandsContentsCommand < RubyGemTestCase
+class TestGemCommandsContentsCommand < Gem::TestCase
def setup
super
@@ -54,7 +54,7 @@ class TestGemCommandsContentsCommand < RubyGemTestCase
def test_execute_bad_gem
@cmd.options[:args] = %w[foo]
- assert_raises MockGemUi::TermError do
+ assert_raises Gem::MockGemUi::TermError do
use_ui @ui do
@cmd.execute
end