summaryrefslogtreecommitdiff
path: root/spec/unit/provider/powershell_script_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/powershell_script_spec.rb')
-rw-r--r--spec/unit/provider/powershell_script_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/powershell_script_spec.rb b/spec/unit/provider/powershell_script_spec.rb
index a247c26651..be4df761d2 100644
--- a/spec/unit/provider/powershell_script_spec.rb
+++ b/spec/unit/provider/powershell_script_spec.rb
@@ -22,7 +22,7 @@ describe Chef::Provider::PowershellScript, "action_run" do
let(:powershell_version) { nil }
let(:node) do
node = Chef::Node.new
- node.default["kernel"] = Hash.new
+ node.default["kernel"] = {}
node.default["kernel"][:machine] = :x86_64.to_s
if ! powershell_version.nil?
node.default[:languages] = { powershell: { version: powershell_version } }