summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-01-05 15:02:42 -0800
committerJohn McCrae <john.mccrae@progress.com>2022-01-31 15:55:54 -0800
commitc57e0c79048e96df56916fe2b73661fddf048cfe (patch)
tree3f651829299794273708061bd4c3e93c2b87b4ca /spec
parentb0ec6ea7d3ee62068ba48397efb50550ac9112aa (diff)
downloadchef-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.rb2
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