aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-03 01:29:29 +0200
committerMarkus Reiter2017-06-06 16:40:03 +0200
commitb40e4afac539cc375597d5ddd0530b8a4b652382 (patch)
treea3708b155066106f2bd9d6c6f90b86d75b3aea5f /Library/Homebrew/test
parent2fa8596302b4dadfb7a58d8529e2f4a8609c0884 (diff)
downloadbrew-b40e4afac539cc375597d5ddd0530b8a4b652382.tar.bz2
Fix parsing `--require-sha` and `HOMEBREW_CASK_OPTS`.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/cask/cli_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli_spec.rb b/Library/Homebrew/test/cask/cli_spec.rb
index 569b831de..caa17b031 100644
--- a/Library/Homebrew/test/cask/cli_spec.rb
+++ b/Library/Homebrew/test/cask/cli_spec.rb
@@ -42,7 +42,7 @@ describe Hbc::CLI, :cask do
it "prints help output when subcommand receives `--help` flag" do
command = Hbc::CLI.new("noop", "--help")
- expect(described_class).to receive(:run_command).with("help")
+ expect(described_class).to receive(:run_command).with("help", "noop")
command.run
expect(command.help?).to eq(true)
end