From 202240a2d3db468a00d12de4edcf10a57629374d Mon Sep 17 00:00:00 2001 From: sersut Date: Mon, 23 Jun 2014 16:23:23 -0700 Subject: Misc spec fixes for windows. --- spec/functional/application_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/functional/application_spec.rb') diff --git a/spec/functional/application_spec.rb b/spec/functional/application_spec.rb index a1d69a9e8f..4a0fdff8f8 100644 --- a/spec/functional/application_spec.rb +++ b/spec/functional/application_spec.rb @@ -47,12 +47,12 @@ describe Chef::Application do it "saves built proxy to ENV which shell_out can use" do so = if windows? - shell_out("echo %HTTP_PROXY%") + shell_out("echo %http_proxy%") else - shell_out("echo %HTTP_PROXY%") + shell_out("echo $http_proxy") end - so.stdout.should == "http://proxy.example.org:8080\n" + so.stdout.chomp.should == "http://proxy.example.org:8080" end end end -- cgit v1.2.1