Sha256: 7887108cd0b31d69a930c1d926f21c4575e887a8420e6f01fed2da6cbb7f4cc7

Contents?: true

Size: 387 Bytes

Versions: 34

Compression:

Stored size: 387 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

describe ::Inch::CLI::Command::Console do
  before do
    @command = ::Inch::CLI::Command::Base.new
  end

  it 'should implement some defaults' do
    assert @command.name
    assert @command.usage
    assert @command.description

    assert_raises(NotImplementedError) { @command.run('something') }
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
inch-0.5.7 test/unit/cli/command/base_test.rb
inch-0.5.6 test/unit/cli/command/base_test.rb
inch-0.5.5 test/unit/cli/command/base_test.rb
inch-0.5.4 test/unit/cli/command/base_test.rb
inch-0.5.3 test/unit/cli/command/base_test.rb
inch-0.5.2 test/unit/cli/command/base_test.rb
inch-0.5.1 test/unit/cli/command/base_test.rb
inch-0.5.0 test/unit/cli/command/base_test.rb
inch-0.5.0.rc11 test/unit/cli/command/base_test.rb
inch-0.5.0.rc10 test/unit/cli/command/base_test.rb
inch-0.5.0.rc9 test/unit/cli/command/base_test.rb
inch-0.5.0.rc8 test/unit/cli/command/base_test.rb
inch-0.5.0.rc7 test/unit/cli/command/base_test.rb
inch-0.5.0.rc6 test/unit/cli/command/base_test.rb