diff options
author | mwrock <matt@mattwrock.com> | 2020-11-20 11:50:59 -0800 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-11-20 11:50:59 -0800 |
commit | 7e9524b9bd5116347fb35e102b4863ccec479143 (patch) | |
tree | 45ead43c9ef8920a392daaff69e31142b3fc22b4 /spec/unit/resource/powershell_script_spec.rb | |
parent | 83860fb124b5cf01eaf9391a5a56798958f7b141 (diff) | |
download | chef-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.rb | 4 |
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 |