aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-07-29 21:42:10 +0200
committerGitHub2017-07-29 21:42:10 +0200
commit73084096842b9ea6fb0b2feaefbb688eb59c9db0 (patch)
treedfb44525f5ae6233816ec97a4c868ea522b2358c /Library/Homebrew/test/cask/cli_spec.rb
parente48a6736b8db7967b1f849975432ddbca6e8f9c0 (diff)
parent2ad3a87045246f89aa267251315d660f663c42f2 (diff)
downloadbrew-73084096842b9ea6fb0b2feaefbb688eb59c9db0.tar.bz2
Merge pull request #2967 from reitermarkus/shutdown
Silence all specs by default.
Diffstat (limited to 'Library/Homebrew/test/cask/cli_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/test/cask/cli_spec.rb b/Library/Homebrew/test/cask/cli_spec.rb
index 51258c580..4a61e0088 100644
--- a/Library/Homebrew/test/cask/cli_spec.rb
+++ b/Library/Homebrew/test/cask/cli_spec.rb
@@ -17,7 +17,7 @@ describe Hbc::CLI, :cask do
cli = described_class.new("--language=en")
expect(cli).to receive(:detect_command_and_arguments).with(no_args)
expect(cli).to receive(:exit).with(1)
- shutup { cli.run }
+ cli.run
end
context "when no option is specified" do
@@ -36,10 +36,6 @@ describe Hbc::CLI, :cask do
allow(noop_command).to receive(:run)
end
- around do |example|
- shutup { example.run }
- end
-
it "passes `--version` along to the subcommand" do
version_command = double("CLI::Version")
allow(described_class).to receive(:lookup_command).with("--version").and_return(version_command)