summaryrefslogtreecommitdiff
path: root/spec/unit/resource/powershell_script_spec.rb
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-11-20 11:50:59 -0800
committermwrock <matt@mattwrock.com>2020-11-20 11:50:59 -0800
commit7e9524b9bd5116347fb35e102b4863ccec479143 (patch)
tree45ead43c9ef8920a392daaff69e31142b3fc22b4 /spec/unit/resource/powershell_script_spec.rb
parent83860fb124b5cf01eaf9391a5a56798958f7b141 (diff)
downloadchef-guard_password.tar.gz
include password in guard inherited attributesguard_password
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'spec/unit/resource/powershell_script_spec.rb')
-rw-r--r--spec/unit/resource/powershell_script_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/powershell_script_spec.rb b/spec/unit/resource/powershell_script_spec.rb
index 1c4b081593..a913583cfa 100644
--- a/spec/unit/resource/powershell_script_spec.rb
+++ b/spec/unit/resource/powershell_script_spec.rb
@@ -47,9 +47,9 @@ describe Chef::Resource::PowershellScript do
expect(resource.convert_boolean_return).to eq(false)
end
- it "inherits exactly the :cwd, :environment, :group, :path, :user, :umask, :architecture, :elevated, :interpreter properties from a parent resource class" do
+ it "inherits exactly the :cwd, :domain, :environment, :group, :password, :path, :user, :umask, :architecture, :elevated, :interpreter properties from a parent resource class" do
inherited_difference = Chef::Resource::PowershellScript.guard_inherited_attributes -
- %i{cwd environment group path user umask architecture elevated interpreter}
+ %i{cwd domain environment group password path user umask architecture elevated interpreter}
expect(inherited_difference).to eq([])
end