From f588069b278fa068359b06a1368e95c09d677b9e Mon Sep 17 00:00:00 2001 From: Claire McQuin Date: Thu, 29 May 2014 12:44:29 -0700 Subject: add error handling, set *_proxy instead of *_PROXY --- spec/functional/application_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/functional/application_spec.rb') 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" -- cgit v1.2.1