summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-26 23:36:18 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-26 23:36:18 -0700
commit3f1d5f3b916aa4c2aea10bb68dfe6765ce1d8969 (patch)
treeb084a505de4a690fbfdb64e0fec6adcd97e1f00c
parent062071871721c0c9cacb7343443fcedf5c378549 (diff)
downloadchef-3f1d5f3b916aa4c2aea10bb68dfe6765ce1d8969.tar.gz
Fix typo in specpowershell_exec_bang
Signed-off-by: Tim Smith <tsmith@chef.io>
-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 a6d7374f0f..8c3e0a4b88 100644
--- a/spec/unit/mixin/powershell_exec_spec.rb
+++ b/spec/unit/mixin/powershell_exec_spec.rb
@@ -43,7 +43,7 @@ describe Chef::Mixin::PowershellExec, :windows_only do
describe "#powershell_exec!" do
it "runs a basic command and returns a Chef::PowerShell object" do
- expect(object.powershell_exec("$PSVersionTable")).to be_kind_of(Chef::PowerShell::CommandFailed
+ expect(object.powershell_exec("$PSVersionTable")).to be_kind_of(Chef::PowerShell::CommandFailed)
end
it "raises an error if the command fails" do