Add another test to increase coverage.

This commit is contained in:
Martin Schimandl 2017-10-08 12:34:15 +02:00
parent dfe4e7641a
commit 7f70080c94

View File

@ -25,4 +25,11 @@ describe Hbc::CLI::InternalStanza, :cask do
command.run command.run
end.to raise_error(/no such stanza/) end.to raise_error(/no such stanza/)
end end
it "shows all artifact stanzas when using 'artifacts' keyword" do
command = described_class.new("artifacts", "with-gpg")
expect do
command.run
end.to output("{:app=>[[\"Caffeine.app\"]]}\n").to_stdout
end
end end