diff options
| author | Markus Reiter | 2017-05-23 17:37:37 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-24 23:54:36 +0200 |
| commit | 0bb2773b171d8572bd7b73b38cc63ed2fa9b555a (patch) | |
| tree | b67499476fb00071f40b8f4873d889abea195c6a /Library/Homebrew/test | |
| parent | a3e30a11d147da760c14cbbe00e50be53a468534 (diff) | |
| download | brew-0bb2773b171d8572bd7b73b38cc63ed2fa9b555a.tar.bz2 | |
Deprecate `--caskroom` flag.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cask/cli_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/test/cask/cli_spec.rb b/Library/Homebrew/test/cask/cli_spec.rb index baad160c3..569b831de 100644 --- a/Library/Homebrew/test/cask/cli_spec.rb +++ b/Library/Homebrew/test/cask/cli_spec.rb @@ -54,13 +54,6 @@ describe Hbc::CLI, :cask do described_class.run("noop") end - it "respects the env variable when choosing a non-default Caskroom location" do - allow(ENV).to receive(:[]) - allow(ENV).to receive(:[]).with("HOMEBREW_CASK_OPTS").and_return("--caskroom=/custom/caskdir") - expect(Hbc).to receive(:caskroom=).with(Pathname.new("/custom/caskdir")) - described_class.run("noop") - end - it "exits with a status of 1 when something goes wrong" do allow(described_class).to receive(:lookup_command).and_raise(Hbc::CaskError) command = Hbc::CLI.new("noop") |
