diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-07 11:08:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-07 11:08:03 -0700 |
commit | 8f685f5ad4fb96f12f5d63f41d9c934847901b2f (patch) | |
tree | 0e47735c61ae2feb10bdd239e60df077e713561d | |
parent | bc078abe48bb628957d9f04e19113d78e2e518d9 (diff) | |
download | chef-8f685f5ad4fb96f12f5d63f41d9c934847901b2f.tar.gz |
Chefstyle fix
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/functional/dsl/reboot_pending_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/dsl/reboot_pending_spec.rb b/spec/functional/dsl/reboot_pending_spec.rb index 09f587a1bc..27169c8f5a 100644 --- a/spec/functional/dsl/reboot_pending_spec.rb +++ b/spec/functional/dsl/reboot_pending_spec.rb @@ -79,8 +79,8 @@ describe Chef::DSL::RebootPending, :windows_only do describe "when there is nothing to indicate a reboot is pending" do it "should return false" do skip "reboot pending" if registry_value_exists?('HKLM\SYSTEM\CurrentControlSet\Control\Session Manager', { name: "PendingFileRenameOperations" }) || - registry_key_exists?('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired') || - registry_key_exists?('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending') + registry_key_exists?('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired') || + registry_key_exists?('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending') expect(recipe.reboot_pending?).to be_falsey end end |