Sha256: 909bb22b26ac24396aad723d9129700aeaf059760d64ffdbafc687d42e00c6a7

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

shared "command" do
  it "should show a help message" do
    res = TestHelper::Command.succeed do
      Command::PioneVal.run ["--help"]
    end
    res.stdout.string.should.start_with "Usage"
  end

  it "should show a version message" do
    res = TestHelper::Command.succeed do
      Command::PioneVal.run ["--version"]
    end
    res.stdout.string.should.include Pione::VERSION
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.3.2 test/command/command-behavior.rb
pione-0.3.1 test/command/command-behavior.rb
pione-0.3.0 test/command/command-behavior.rb