Sha256: 1f1f47dd8e32e54927e35ea63149b016ae49539d9e0f8f284b7e1ae331d2b96d

Contents?: true

Size: 387 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
inch-0.5.0.rc5 test/unit/cli/command/base_test.rb
inch-0.5.0.rc4 test/unit/cli/command/base_test.rb
inch-0.4.10 test/unit/cli/command/base_test.rb
inch-0.4.9 test/unit/cli/command/base_test.rb
inch-0.4.8 test/unit/cli/command/base_test.rb
inch-0.4.7 test/unit/cli/command/base_test.rb