diff options
| author | Markus Reiter | 2017-05-25 00:45:46 +0200 |
|---|---|---|
| committer | GitHub | 2017-05-25 00:45:46 +0200 |
| commit | e931fee732d9d8d34eb9d689782bafb3822302f7 (patch) | |
| tree | 8b827598a32dea11d3f9999e520bc93700117194 /Library/Homebrew/test | |
| parent | a3e30a11d147da760c14cbbe00e50be53a468534 (diff) | |
| parent | 68a513083ebbd6a91a0fbb27daff0401edf7f47a (diff) | |
| download | brew-e931fee732d9d8d34eb9d689782bafb3822302f7.tar.bz2 | |
Merge pull request #2672 from reitermarkus/deprecate-caskroom-flag
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") |
