diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-25 22:58:43 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-25 22:58:43 +0000 |
commit | b61d8b6045497a5b2185bf8cb61a381f179d3ecd (patch) | |
tree | 0b7980dd65f71136db50a788d5e5a052efdf66ed /test/rubygems/test_gem_commands_query_command.rb | |
parent | 17358af75b80343f7861907b9288607e67a08f61 (diff) |
Update to RubyGems 1.3.1 r1909.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_query_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_query_command.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_query_command.rb b/test/rubygems/test_gem_commands_query_command.rb index b17e2a3ad5..785a08cd6c 100644 --- a/test/rubygems/test_gem_commands_query_command.rb +++ b/test/rubygems/test_gem_commands_query_command.rb @@ -1,4 +1,3 @@ -require 'test/unit' require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities') require 'rubygems/commands/query_command' @@ -99,7 +98,7 @@ pl (1) def test_execute_installed @cmd.handle_options %w[-n c --installed] - e = assert_raise Gem::SystemExitException do + e = assert_raises Gem::SystemExitException do use_ui @ui do @cmd.execute end @@ -115,7 +114,7 @@ pl (1) def test_execute_installed_no_name @cmd.handle_options %w[--installed] - e = assert_raise Gem::SystemExitException do + e = assert_raises Gem::SystemExitException do use_ui @ui do @cmd.execute end @@ -130,7 +129,7 @@ pl (1) def test_execute_installed_not_installed @cmd.handle_options %w[-n not_installed --installed] - e = assert_raise Gem::SystemExitException do + e = assert_raises Gem::SystemExitException do use_ui @ui do @cmd.execute end @@ -145,7 +144,7 @@ pl (1) def test_execute_installed_version @cmd.handle_options %w[-n c --installed --version 1.2] - e = assert_raise Gem::SystemExitException do + e = assert_raises Gem::SystemExitException do use_ui @ui do @cmd.execute end @@ -160,7 +159,7 @@ pl (1) def test_execute_installed_version_not_installed @cmd.handle_options %w[-n c --installed --version 2] - e = assert_raise Gem::SystemExitException do + e = assert_raises Gem::SystemExitException do use_ui @ui do @cmd.execute end |