summaryrefslogtreecommitdiff
path: root/spec/support/shared/unit/script_resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared/unit/script_resource.rb')
-rw-r--r--spec/support/shared/unit/script_resource.rb4
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