Sha256: bd206d68d10491c186cd84d6c1ecb5752fd9253c5722476135656d2bfca9080a
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
require 'pione/test-helper' require_relative 'command-behavior' describe Pione::Command::PioneCommand do before do @cmd = Pione::Command::PioneCommand end behaves_like "command" it "should call subcommand" do Rootage::ScenarioTest.succeed(@cmd.new(["val", "1 + 1"])) end it "should fail with unknown subcommand name" do Rootage::ScenarioTest.fail(@cmd.new(["abcdefghijk"])) end end
Version data entries
6 entries across 6 versions & 1 rubygems