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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_dependency_command.rb b/test/rubygems/test_gem_commands_dependency_command.rb
index 11d7f8017a..d49aa2f513 100644
--- a/test/rubygems/test_gem_commands_dependency_command.rb
+++ b/test/rubygems/test_gem_commands_dependency_command.rb
@@ -64,7 +64,7 @@ Gem x-2
def test_execute_no_match
@cmd.options[:args] = %w[foo]
- assert_raises Gem::MockGemUi::TermError do
+ assert_raise Gem::MockGemUi::TermError do
use_ui @stub_ui do
@cmd.execute
end
@@ -155,7 +155,7 @@ Gem foo-2
@cmd.options[:reverse_dependencies] = true
@cmd.options[:domain] = :remote
- assert_raises Gem::MockGemUi::TermError do
+ assert_raise Gem::MockGemUi::TermError do
use_ui @stub_ui do
@cmd.execute
end