summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_dependency_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_dependency_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_dependency_command.rb b/test/rubygems/test_gem_commands_dependency_command.rb
index 0acf2a0ddb..ebf713c36e 100644
--- a/test/rubygems/test_gem_commands_dependency_command.rb
+++ b/test/rubygems/test_gem_commands_dependency_command.rb
@@ -1,4 +1,3 @@
-require 'test/unit'
require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
require 'rubygems/commands/dependency_command'
@@ -61,7 +60,7 @@ Gem pl-1-x86-linux
def test_execute_no_match
@cmd.options[:args] = %w[foo]
- assert_raise MockGemUi::TermError do
+ assert_raises MockGemUi::TermError do
use_ui @ui do
@cmd.execute
end
@@ -146,7 +145,7 @@ Gem foo-2
@cmd.options[:reverse_dependencies] = true
@cmd.options[:domain] = :remote
- assert_raise MockGemUi::TermError do
+ assert_raises MockGemUi::TermError do
use_ui @ui do
@cmd.execute
end