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/support/shared/unit/script_resource.rb | |
parent | 83860fb124b5cf01eaf9391a5a56798958f7b141 (diff) | |
download | chef-7e9524b9bd5116347fb35e102b4863ccec479143.tar.gz |
include password in guard inherited attributesguard_password
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'spec/support/shared/unit/script_resource.rb')
-rw-r--r-- | spec/support/shared/unit/script_resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/unit/script_resource.rb b/spec/support/shared/unit/script_resource.rb index b06551d170..0256112a68 100644 --- a/spec/support/shared/unit/script_resource.rb +++ b/spec/support/shared/unit/script_resource.rb @@ -47,9 +47,9 @@ shared_examples_for "a script resource" do end describe "when executing guards" do - it "inherits exactly the :cwd, :environment, :group, :path, :user, and :umask attributes from a parent resource class" do + it "inherits exactly the :cwd, :domain, :environment, :group, :password, :path, :user, and :umask attributes from a parent resource class" do inherited_difference = Chef::Resource::Script.guard_inherited_attributes - - %i{cwd environment group path user umask} + %i{cwd domain environment group password path user umask} expect(inherited_difference).to eq([]) end |