Hide output from brew cask uninstall test

This test showed extraneous info in the test output
This commit is contained in:
Joshua McKinney 2017-03-18 18:59:28 -05:00
parent 3703ef1885
commit d11e417105

View File

@ -30,7 +30,9 @@ describe Hbc::CLI::Uninstall, :cask do
it "tries anyway on a non-present Cask when --force is given" do
expect {
Hbc::CLI::Uninstall.run("local-caffeine", "--force")
shutup do
Hbc::CLI::Uninstall.run("local-caffeine", "--force")
end
}.not_to raise_error
end