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-18 13:32:42 -0800 |
commit | 3b4d73a3f391866a585d896b8f83c53a76f12222 (patch) | |
tree | 30019b7760048e5f4b9529e8efc54e128ba65c35 | |
parent | 21064f6de5a9f25f5a27043b864730f1de66dae4 (diff) | |
download | chef-3b4d73a3f391866a585d896b8f83c53a76f12222.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/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 |