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.9.0.rc1 test/unit/cli/command/base_test.rb
inch-0.8.0 test/unit/cli/command/base_test.rb
inch-0.8.0.rc2 test/unit/cli/command/base_test.rb
inch-0.8.0.rc1 test/unit/cli/command/base_test.rb
inch-0.7.1 test/unit/cli/command/base_test.rb
inch-0.7.0 test/unit/cli/command/base_test.rb
inch-0.6.4 test/unit/cli/command/base_test.rb
inch-0.6.3 test/unit/cli/command/base_test.rb
inch-0.6.2 test/unit/cli/command/base_test.rb
inch-0.6.1 test/unit/cli/command/base_test.rb
inch-0.6.0 test/unit/cli/command/base_test.rb
inch-0.6.0.rc6 test/unit/cli/command/base_test.rb
inch-0.6.0.rc5 test/unit/cli/command/base_test.rb
inch-0.6.0.rc4 test/unit/cli/command/base_test.rb
inch-0.6.0.rc3 test/unit/cli/command/base_test.rb
inch-0.6.0.rc2 test/unit/cli/command/base_test.rb
inch-0.6.0.rc1 test/unit/cli/command/base_test.rb
inch-0.5.10 test/unit/cli/command/base_test.rb
inch-0.5.9 test/unit/cli/command/base_test.rb
inch-0.5.8 test/unit/cli/command/base_test.rb