diff options
author | John McCrae <john.mccrae@progress.com> | 2022-01-05 12:35:40 -0800 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-01-18 13:32:42 -0800 |
commit | 21064f6de5a9f25f5a27043b864730f1de66dae4 (patch) | |
tree | a6eb297e7db69d668c22a2a15052965e06863a83 | |
parent | 1fcd84ef31ca36bface33ce46d4498cb57a90bd3 (diff) | |
download | chef-21064f6de5a9f25f5a27043b864730f1de66dae4.tar.gz |
Updated the chef client to retrieve certs from the Windows registry. Tests included. This is PR3 since I keep trashing them
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | spec/unit/platform/query_helpers_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/platform/query_helpers_spec.rb b/spec/unit/platform/query_helpers_spec.rb index 6ad8b1bb2f..f23be0e63d 100644 --- a/spec/unit/platform/query_helpers_spec.rb +++ b/spec/unit/platform/query_helpers_spec.rb @@ -45,7 +45,7 @@ if ChefUtils.windows? let(:powershell) { instance_double("Chef::PowerShell") } it "returns true when RefreshMode is Disabled" do - expect(Chef::PowerShell).to receive(:new) + expect(Chef_PowerShell::PowerShell).to receive(:new) .with("Get-DscLocalConfigurationManager") .and_return(powershell) expect(powershell).to receive(:error!) @@ -54,7 +54,7 @@ if ChefUtils.windows? end it "returns false when RefreshMode is not Disabled" do - expect(Chef::PowerShell).to receive(:new) + expect(Chef_PowerShell::PowerShell).to receive(:new) .with("Get-DscLocalConfigurationManager") .and_return(powershell) expect(powershell).to receive(:error!) |