10 lines
248 B
Ruby
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
|