aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-06-07 13:22:59 +0200
committerGitHub2017-06-07 13:22:59 +0200
commite2e578fd83013cc81993f6751e17a3cdef2c0a27 (patch)
tree2319fdc3de2214aaccc45c08e49772cc112ab543 /Library/Homebrew/test
parent1627df997cb4cd1da40d47d77856a7f04598291c (diff)
parentb40e4afac539cc375597d5ddd0530b8a4b652382 (diff)
downloadbrew-e2e578fd83013cc81993f6751e17a3cdef2c0a27.tar.bz2
Merge pull request #2729 from reitermarkus/cask-require-sha
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