diff options
author | John McCrae <john.mccrae@progress.com> | 2022-01-05 15:02:42 -0800 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-01-31 15:55:54 -0800 |
commit | c57e0c79048e96df56916fe2b73661fddf048cfe (patch) | |
tree | 3f651829299794273708061bd4c3e93c2b87b4ca /spec | |
parent | b0ec6ea7d3ee62068ba48397efb50550ac9112aa (diff) | |
download | chef-c57e0c79048e96df56916fe2b73661fddf048cfe.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>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/util/dsc/local_configuration_manager_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/dsc/local_configuration_manager_spec.rb b/spec/unit/util/dsc/local_configuration_manager_spec.rb index 8adf778949..98cd04d263 100644 --- a/spec/unit/util/dsc/local_configuration_manager_spec.rb +++ b/spec/unit/util/dsc/local_configuration_manager_spec.rb @@ -185,7 +185,7 @@ describe Chef::Util::DSC::LocalConfigurationManager do context "when invalid dsc script is given" do it "raises exception" do configuration_document = "invalid-config" - expect { lcm.send(:run_configuration_cmdlet, configuration_document, true) }.to raise_error(Chef::PowerShell::CommandFailed) + expect { lcm.send(:run_configuration_cmdlet, configuration_document, true) }.to raise_error(Chef_PowerShell::PowerShellExceptions::PowerShellCommandFailed) end end end |