summaryrefslogtreecommitdiff
path: root/spec/functional/resource/dsc_script_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/resource/dsc_script_spec.rb')
-rw-r--r--spec/functional/resource/dsc_script_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb
index b22599266b..a3299f041e 100644
--- a/spec/functional/resource/dsc_script_spec.rb
+++ b/spec/functional/resource/dsc_script_spec.rb
@@ -263,7 +263,7 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only, :ruby64_only d
dsc_test_resource.cwd(dsc_environment_fail_etc_directory)
expect {
dsc_test_resource.run_action(:run)
- }.to raise_error(Chef::PowerShell::CommandFailed, /#{exception_message_signature}/)
+ }.to raise_error(ChefPowerShell::PowerShellExceptions::PowerShellCommandFailed, /#{exception_message_signature}/)
end
end
end