aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli/uninstall_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-04-22 12:26:18 +0100
committerMike McQuaid2017-04-22 12:49:14 +0100
commita6df701fad516a1da54ea245fb47826d47dc03b5 (patch)
treea60cec8272fa08f6409c0e46a483322e604f13c9 /Library/Homebrew/test/cask/cli/uninstall_spec.rb
parent268f2dbde2f157bab14518a2d725a111a44e00a3 (diff)
downloadbrew-a6df701fad516a1da54ea245fb47826d47dc03b5.tar.bz2
tests: reduce some noise.
- Tweak the way offline skipping happens - Skip more tests that break when offline - Hide more stdout output from tests.
Diffstat (limited to 'Library/Homebrew/test/cask/cli/uninstall_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli/uninstall_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/uninstall_spec.rb b/Library/Homebrew/test/cask/cli/uninstall_spec.rb
index fb196ee72..c03f64c8f 100644
--- a/Library/Homebrew/test/cask/cli/uninstall_spec.rb
+++ b/Library/Homebrew/test/cask/cli/uninstall_spec.rb
@@ -13,7 +13,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