Add test for brew commands --quiet
This commit is contained in:
parent
6e1374bef9
commit
193b5aa07a
@ -6,6 +6,12 @@ describe "brew commands", :integration_test do
|
|||||||
it "prints a list of all available commands" do
|
it "prints a list of all available commands" do
|
||||||
expect { brew "commands" }
|
expect { brew "commands" }
|
||||||
.to output(/Built-in commands/).to_stdout
|
.to output(/Built-in commands/).to_stdout
|
||||||
|
.and not_to_output.to_stderr
|
||||||
|
.and be_a_success
|
||||||
|
|
||||||
|
expect { brew "commands", "--quiet" }
|
||||||
|
.to output.to_stdout
|
||||||
|
.and not_to_output.to_stderr
|
||||||
.and be_a_success
|
.and be_a_success
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user