Update to RDoc 2.1.0 r112
[rbx.git] / test / rubygems / test_gem_commands_check_command.rb
blobeea7cc5cfa758464a3d3a1c3ac15310de40356c5
1 #--
2 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
3 # All rights reserved.
4 # See LICENSE.txt for permissions.
5 #++
7 require 'test/unit'
8 require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
9 require 'rubygems/commands/check_command'
11 class TestGemCommandsCheckCommand < RubyGemTestCase
13   def setup
14     super
16     @cmd = Gem::Commands::CheckCommand.new
17   end
19   def test_initialize
20     assert_equal "check", @cmd.command
21     assert_equal "gem check", @cmd.program_name
22     assert_match(/Check/, @cmd.summary)
23   end
25 end