summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-12-19 10:17:58 +0000
committerThom May <thom@chef.io>2018-02-20 11:19:02 +0000
commita06fc4bafc87fcf800d48cfcf9d65f9990c04b7b (patch)
tree569a1aa345ec6e36ffa8af9b4ccb95663ab60493
parent95116c5e7ef446b5683b56ea0e08d24248a81cd4 (diff)
downloadchef-tm/circle.tar.gz
make sure all proxy settings are dealt withtm/circle
Signed-off-by: Thom May <thom@chef.io>
-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