diff options
| author | Markus Reiter | 2017-05-24 20:34:20 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-24 20:34:20 +0200 |
| commit | b91d0254bbd07b7b0ddf3906cb6c08684ebc07ef (patch) | |
| tree | 80ec2554ba33379d59f015b2c420395058b1386e /Library/Homebrew/test | |
| parent | d025e0e7ab690db01b1bf99540c3564ab753d8c6 (diff) | |
| download | brew-b91d0254bbd07b7b0ddf3906cb6c08684ebc07ef.tar.bz2 | |
Add test for `--binaries` default value.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cask/cli_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/test/cask/cli_spec.rb b/Library/Homebrew/test/cask/cli_spec.rb index d5bfba754..baad160c3 100644 --- a/Library/Homebrew/test/cask/cli_spec.rb +++ b/Library/Homebrew/test/cask/cli_spec.rb @@ -13,6 +13,13 @@ describe Hbc::CLI, :cask do ]) end + context "when no option is specified" do + it "--binaries is true by default" do + command = Hbc::CLI::Install.new("some-cask") + expect(command.binaries?).to be true + end + end + context "::run" do let(:noop_command) { double("CLI::Noop") } |
