aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-25 00:45:46 +0200
committerGitHub2017-05-25 00:45:46 +0200
commite931fee732d9d8d34eb9d689782bafb3822302f7 (patch)
tree8b827598a32dea11d3f9999e520bc93700117194 /Library/Homebrew/test
parenta3e30a11d147da760c14cbbe00e50be53a468534 (diff)
parent68a513083ebbd6a91a0fbb27daff0401edf7f47a (diff)
downloadbrew-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.rb7
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")