summaryrefslogtreecommitdiff
path: root/spec/functional/application_spec.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-06-23 16:23:23 -0700
committersersut <serdar@opscode.com>2014-06-24 10:45:02 -0700
commit202240a2d3db468a00d12de4edcf10a57629374d (patch)
tree15a1d3cf10fd730a2af68774fe2415873c7aad2b /spec/functional/application_spec.rb
parentcb99452d29a5de8198278a5b40e441b697e56ffb (diff)
downloadchef-202240a2d3db468a00d12de4edcf10a57629374d.tar.gz
Misc spec fixes for windows.
Diffstat (limited to 'spec/functional/application_spec.rb')
-rw-r--r--spec/functional/application_spec.rb6
1 files changed, 3 insertions, 3 deletions
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