Sha256: 218929bfcdcbc60018a42b8a199430fc649d25476f4519b180e8736891db0043

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pione-0.2.2 test/command/command-behavior.rb
pione-0.2.1 test/command/command-behavior.rb