summaryrefslogtreecommitdiff
path: root/spec/functional/application_spec.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-05-29 12:44:29 -0700
committerClaire McQuin <claire@getchef.com>2014-06-03 09:17:42 -0700
commitf588069b278fa068359b06a1368e95c09d677b9e (patch)
tree2990a91c1834401e88ca18d54b5484416abbb1ba /spec/functional/application_spec.rb
parent1fcae67beca488117543afb446c8737dc060f695 (diff)
downloadchef-f588069b278fa068359b06a1368e95c09d677b9e.tar.gz
add error handling, set *_proxy instead of *_PROXY
Diffstat (limited to 'spec/functional/application_spec.rb')
-rw-r--r--spec/functional/application_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/application_spec.rb b/spec/functional/application_spec.rb
index bed293a80d..ae7bc5aa29 100644
--- a/spec/functional/application_spec.rb
+++ b/spec/functional/application_spec.rb
@@ -43,9 +43,9 @@ describe Chef::Application do
it "saves built proxy to ENV which shell_out can use" do
so = if windows?
- shell_out("echo $env:HTTP_PROXY")
+ shell_out("echo $env:http_proxy")
else
- shell_out("echo $HTTP_PROXY")
+ shell_out("echo $http_proxy")
end
so.stdout.should == "http://proxy.example.org:8080\n"