From 6b9ca5dbf5b625f1da93b82f5752b37ee0c61600 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 8 Dec 2017 16:33:33 +0000 Subject: Remove some unset/checked environment checks These will be redundant once environment filtering is on by default in #3529. --- Library/Homebrew/test/os/mac/diagnostic_spec.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/os/mac/diagnostic_spec.rb b/Library/Homebrew/test/os/mac/diagnostic_spec.rb index 83d95c2ef..f04652a93 100644 --- a/Library/Homebrew/test/os/mac/diagnostic_spec.rb +++ b/Library/Homebrew/test/os/mac/diagnostic_spec.rb @@ -15,14 +15,6 @@ describe Homebrew::Diagnostic::Checks do .to match("We do not provide support for this pre-release version.") end - specify "#check_for_unsupported_curl_vars" do - allow(MacOS).to receive(:version).and_return(OS::Mac::Version.new("10.10")) - ENV["SSL_CERT_DIR"] = "/some/path" - - expect(subject.check_for_unsupported_curl_vars) - .to match("SSL_CERT_DIR support was removed from Apple's curl.") - end - specify "#check_for_beta_xquartz" do allow(MacOS::XQuartz).to receive(:version).and_return("2.7.10_beta2") -- cgit v1.2.3