summaryrefslogtreecommitdiff
path: root/spec/support/shared/functional/windows_script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared/functional/windows_script.rb')
-rw-r--r--spec/support/shared/functional/windows_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb
index 35b86dc4e8..3499cc98ec 100644
--- a/spec/support/shared/functional/windows_script.rb
+++ b/spec/support/shared/functional/windows_script.rb
@@ -114,7 +114,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("@whoami > #{script_output_path}")
+ resource.code("whoami > #{script_output_path}")
resource.returns(0)
resource.run_action(:run)
end