summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_check_command.rb
blob: 83065cf218262a3c04a2860ae79cf61da69ff86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require_relative '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