summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-06-23 13:38:39 -0700
committersersut <serdar@opscode.com>2014-06-24 10:45:02 -0700
commitcb99452d29a5de8198278a5b40e441b697e56ffb (patch)
tree874c8bddee5c4742ac188e4c4df06d1c0a54f038
parente0545f11b9d8b4901b13dac3dbbbdf61eb4282a0 (diff)
downloadchef-cb99452d29a5de8198278a5b40e441b697e56ffb.tar.gz
Fix windows specs.
-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 297f1c3797..a1d69a9e8f 100644
--- a/spec/functional/application_spec.rb
+++ b/spec/functional/application_spec.rb
@@ -47,9 +47,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 %HTTP_PROXY%")
else
- shell_out("echo $http_proxy")
+ shell_out("echo %HTTP_PROXY%")
end
so.stdout.should == "http://proxy.example.org:8080\n"