summaryrefslogtreecommitdiff
path: root/spec/unit/resource/powershell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/powershell_spec.rb')
-rw-r--r--spec/unit/resource/powershell_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/resource/powershell_spec.rb b/spec/unit/resource/powershell_spec.rb
index c263172ae6..2505c4a3d7 100644
--- a/spec/unit/resource/powershell_spec.rb
+++ b/spec/unit/resource/powershell_spec.rb
@@ -25,6 +25,7 @@ describe Chef::Resource::PowershellScript do
node.default["kernel"] = Hash.new
node.default["kernel"][:machine] = :x86_64.to_s
+ node.automatic[:os] = 'windows'
run_context = Chef::RunContext.new(node, nil, nil)