diff options
| author | Markus Reiter | 2017-06-03 01:29:29 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-06-06 16:40:03 +0200 |
| commit | b40e4afac539cc375597d5ddd0530b8a4b652382 (patch) | |
| tree | a3708b155066106f2bd9d6c6f90b86d75b3aea5f /Library/Homebrew/test | |
| parent | 2fa8596302b4dadfb7a58d8529e2f4a8609c0884 (diff) | |
| download | brew-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.rb | 2 |
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 |
