blob: a71c1ebb9215cc4974ca27b90e7d37b4b2aa6acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'rubygems/test_case'
require 'rubygems/commands/check_command'
class TestGemCommandsCheckCommand < Gem::TestCase
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
|