brew/Library/Homebrew/test/cask/cli/version_spec.rb

10 lines
248 B
Ruby
Raw Normal View History

2017-03-05 19:26:56 +01:00
describe "brew cask --version", :cask do
2017-02-08 13:41:40 +01:00
it "respects the --version argument" do
expect {
expect {
Hbc::CLI::NullCommand.new("--version").run
}.not_to output.to_stderr
}.to output(Hbc.full_version).to_stdout
end
end