diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-24 20:03:25 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-06-24 20:03:25 -0700 |
commit | 87193ea7913b85330f5bbf45d02a022c65fb920e (patch) | |
tree | 7af4783379ac73b64996dd804e9a30a972133050 | |
parent | 6348db235a97a196593f9be38fc08d324a428761 (diff) | |
download | chef-87193ea7913b85330f5bbf45d02a022c65fb920e.tar.gz |
Added a new test, discovered a new bug in the tests and corrected that. All tests passing locally
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | spec/functional/resource/windows_pagefile_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/windows_pagefile_spec.rb b/spec/functional/resource/windows_pagefile_spec.rb index 9767f7eeb1..9e4abc7e58 100644 --- a/spec/functional/resource/windows_pagefile_spec.rb +++ b/spec/functional/resource/windows_pagefile_spec.rb @@ -49,7 +49,7 @@ describe Chef::Resource::WindowsPagefile, :windows_only do powershell_exec!(powershell_code) end - def set_automatic_managed_to_true + def set_automatic_managed_to_true powershell_code = <<~EOH $computersys = Get-WmiObject Win32_ComputerSystem -EnableAllPrivileges; $computersys.AutomaticManagedPagefile = $True; |