summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-02-20 16:05:08 +0000
committerGitHub <noreply@github.com>2018-02-20 16:05:08 +0000
commitd2630537fe09c9125dc64c44b8b678fc87c2d521 (patch)
tree08dc69b5f402dd37a4fdc29a8be07ce7e033d8b7
parent793b2951d740e972f5c00a6d14f5fe7a3a04ba15 (diff)
parent038f5047063b2c63dcfabc7f7acedd00d8575c09 (diff)
downloadchef-d2630537fe09c9125dc64c44b8b678fc87c2d521.tar.gz
Merge pull request #6875 from chef/tm/fix_proxy_tests
make sure all proxy settings are dealt with
-rw-r--r--chef-config/spec/unit/config_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/chef-config/spec/unit/config_spec.rb b/chef-config/spec/unit/config_spec.rb
index f5e9a914c9..41b4382cf0 100644
--- a/chef-config/spec/unit/config_spec.rb
+++ b/chef-config/spec/unit/config_spec.rb
@@ -852,9 +852,13 @@ RSpec.describe ChefConfig::Config do
before(:all) do
@original_env = ENV.to_hash
ENV["http_proxy"] = nil
+ ENV["HTTP_PROXY"] = nil
ENV["https_proxy"] = nil
+ ENV["HTTPS_PROXY"] = nil
ENV["ftp_proxy"] = nil
+ ENV["FTP_PROXY"] = nil
ENV["no_proxy"] = nil
+ ENV["NO_PROXY"] = nil
end
after(:all) do