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
|