Ensure brew cat output is empty on failure.

This commit is contained in:
Markus Reiter 2020-11-29 17:57:10 +01:00
parent f438fa98be
commit e26311236f

View File

@ -14,6 +14,7 @@ describe "brew", :integration_test do
it "prints help when no argument is given" do
expect { brew "cat" }
.to output(/^Usage: brew cat/).to_stderr
.and not_to_output.to_stdout
.and be_a_failure
end
end