summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStuart Preston <stuart@chef.io>2018-06-19 16:49:31 +0100
committerStuart Preston <stuart@chef.io>2018-06-19 16:49:31 +0100
commit08bd853e9fe52a92c310e1ff2a5171324998b593 (patch)
tree9b24b539cca3c96d65d9132f0beb8fede41bfd5e /spec
parent812e2be8b4b972196d572e1a57e44367c9350fa8 (diff)
downloadchef-08bd853e9fe52a92c310e1ff2a5171324998b593.tar.gz
Fix up tests for appveyor
Signed-off-by: Stuart Preston <stuart@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/mixin/powershell_exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/powershell_exec_spec.rb b/spec/unit/mixin/powershell_exec_spec.rb
index 72619bdc8a..7241e67934 100644
--- a/spec/unit/mixin/powershell_exec_spec.rb
+++ b/spec/unit/mixin/powershell_exec_spec.rb
@@ -37,7 +37,7 @@ describe Chef::Mixin::PowershellExec, :windows_only do
execution = object.powershell_exec("this-should-error")
expect(execution.errors).to be_a_kind_of(Array)
expect(execution.errors[0]).to be_a_kind_of(String)
- expect(execution.errors[0]).to include("CommandNotFoundException")
+ expect(execution.errors[0]).to include("Runtime exception: this-should-error")
end
end
end