Sha256: dabd711e1e996006ec59d5133d4fa8e6d31a37d8dfd68260fcfc68386a191e3f

Contents?: true

Size: 387 Bytes

Versions: 41

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

41 entries across 41 versions & 1 rubygems

Version Path
inch-0.3.3 test/unit/cli/command/base_test.rb
inch-0.3.3.rc1 test/unit/cli/command/base_test.rb
inch-0.3.2 test/unit/cli/command/base_test.rb
inch-0.3.2.rc2 test/unit/cli/command/base_test.rb
inch-0.3.2.rc1 test/unit/cli/command/base_test.rb
inch-0.3.1 test/inch/cli/command/base_test.rb
inch-0.3.1.rc6 test/inch/cli/command/base_test.rb
inch-0.3.1.rc5 test/inch/cli/command/base_test.rb
inch-0.3.1.rc4 test/inch/cli/command/base_test.rb
inch-0.3.1.rc3 test/inch/cli/command/base_test.rb
inch-0.3.1.rc2 test/inch/cli/command/base_test.rb
inch-0.3.1.rc1 test/inch/cli/command/base_test.rb
inch-0.3.0 test/inch/cli/command/base_test.rb
inch-0.3.0.rc3 test/inch/cli/command/base_test.rb
inch-0.3.0.rc2 test/inch/cli/command/base_test.rb
inch-0.3.0.rc1 test/inch/cli/command/base_test.rb
inch-0.2.3 test/inch/cli/command/base_test.rb
inch-0.2.2 test/inch/cli/command/base_test.rb
inch-0.2.1 test/inch/cli/command/base_test.rb
inch-0.2.0 test/inch/cli/command/base_test.rb