blob: b24c777eb77de042c6e50cc2943958118a5eb5aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
describe Hbc::CLI::Doctor, :cask do
it "displays some nice info about the environment" do
expect {
Hbc::CLI::Doctor.run
}.to output(/\A==> Homebrew-Cask Version/).to_stdout
end
it "raises an exception when arguments are given" do
expect {
Hbc::CLI::Doctor.run("argument")
}.to raise_error(ArgumentError)
end
end
|