diff options
author | Claire McQuin <claire@getchef.com> | 2014-05-29 12:44:29 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-06-03 09:17:42 -0700 |
commit | f588069b278fa068359b06a1368e95c09d677b9e (patch) | |
tree | 2990a91c1834401e88ca18d54b5484416abbb1ba /spec/functional/application_spec.rb | |
parent | 1fcae67beca488117543afb446c8737dc060f695 (diff) | |
download | chef-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.rb | 4 |
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" |