summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorsanga17 <sausekar@msystechnologies.com>2020-03-17 15:25:59 +0530
committersanga17 <sausekar@msystechnologies.com>2020-03-17 15:25:59 +0530
commit4e0a2857113f478375e8516db1285077b98c90a3 (patch)
treed436ee68a356630907e51102ad9fea32f3ceaf14 /spec/unit
parent57a367f5aef2ce2ce0627fe1a3f3eca5e1921145 (diff)
downloadchef-4e0a2857113f478375e8516db1285077b98c90a3.tar.gz
Powershell spec file updated
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/provider/package/powershell_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider/package/powershell_spec.rb b/spec/unit/provider/package/powershell_spec.rb
index e4adc402cb..c797fce3d7 100644
--- a/spec/unit/provider/package/powershell_spec.rb
+++ b/spec/unit/provider/package/powershell_spec.rb
@@ -28,6 +28,7 @@ describe Chef::Provider::Package::Powershell do
let(:provider) do
node = Chef::Node.new
+ node.consume_external_attrs(OHAI_SYSTEM.data.dup, {})
events = Chef::EventDispatch::Dispatcher.new
run_context = Chef::RunContext.new(node, {}, events)
Chef::Provider::Package::Powershell.new(new_resource, run_context)