diff options
author | NimishaS <nimisha.sharad@msystechnologies.com> | 2017-07-13 09:21:07 +0000 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2017-07-19 22:16:01 -0400 |
commit | 00761075e711b658bad30dccce27c44e64d121d7 (patch) | |
tree | bbc15555479454f1dfd71565970f7260f24797d2 /spec/unit | |
parent | 319cf1a22bec65fdf0b8abea289fdf14500611ad (diff) | |
download | chef-00761075e711b658bad30dccce27c44e64d121d7.tar.gz |
Added :elevated option for powershell_script resource
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
Diffstat (limited to 'spec/unit')
-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 6457090608..9cdb6fdbee 100644 --- a/spec/unit/resource/powershell_script_spec.rb +++ b/spec/unit/resource/powershell_script_spec.rb @@ -59,9 +59,9 @@ describe Chef::Resource::PowershellScript do allow(resource).to receive(:updated).and_return(true) end - it "inherits exactly the :cwd, :environment, :group, :path, :user, :umask, and :architecture attributes from a parent resource class" do + it "inherits exactly the :cwd, :environment, :group, :path, :user, :umask, :architecture, :elevated attributes from a parent resource class" do inherited_difference = Chef::Resource::PowershellScript.guard_inherited_attributes - - [:cwd, :environment, :group, :path, :user, :umask, :architecture ] + [:cwd, :environment, :group, :path, :user, :umask, :architecture, :elevated ] expect(inherited_difference).to eq([]) end |