diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared/functional/windows_script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb index 1db85e35f5..151ad2387c 100644 --- a/spec/support/shared/functional/windows_script.rb +++ b/spec/support/shared/functional/windows_script.rb @@ -163,7 +163,7 @@ shared_context Chef::Resource::WindowsScript do describe "when the run action is invoked on Windows" do it "executes the script code" do - resource.code("chcp > \"#{script_output_path}\"") + resource.code("whoami > \"#{script_output_path}\"") resource.returns(0) resource.run_action(:run) end @@ -199,7 +199,7 @@ shared_context Chef::Resource::WindowsScript do end it "executes the script code" do - resource.code("chcp > \"#{script_output_path}\"") + resource.code("whoami > \"#{script_output_path}\"") resource.returns(0) resource.run_action(:run) end |