brew/Library/Homebrew/test/cask/cli/version_spec.rb
2017-03-05 23:08:14 +01:00

10 lines
248 B
Ruby

describe "brew cask --version", :cask do
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