diff options
Diffstat (limited to 'trunk/test/rubygems/test_gem_commands_check_command.rb')
-rw-r--r-- | trunk/test/rubygems/test_gem_commands_check_command.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/trunk/test/rubygems/test_gem_commands_check_command.rb b/trunk/test/rubygems/test_gem_commands_check_command.rb new file mode 100644 index 0000000000..eea7cc5cfa --- /dev/null +++ b/trunk/test/rubygems/test_gem_commands_check_command.rb @@ -0,0 +1,25 @@ +#-- +# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. +# All rights reserved. +# See LICENSE.txt for permissions. +#++ + +require 'test/unit' +require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities') +require 'rubygems/commands/check_command' + +class TestGemCommandsCheckCommand < RubyGemTestCase + + def setup + super + + @cmd = Gem::Commands::CheckCommand.new + end + + def test_initialize + assert_equal "check", @cmd.command + assert_equal "gem check", @cmd.program_name + assert_match(/Check/, @cmd.summary) + end + +end |