diff options
author | mwrock <matt@mattwrock.com> | 2020-10-05 11:07:06 -0700 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-10-05 11:07:06 -0700 |
commit | 2bb4a762ba583f973c5528e9cb229236441623f8 (patch) | |
tree | cc9a3b61a149c2977f7dcadf15c923753da6ea07 /spec/functional | |
parent | b49989ec194585f517482260a9c499eb6f1d2ed5 (diff) | |
download | chef-2bb4a762ba583f973c5528e9cb229236441623f8.tar.gz |
fix specs on powershell v4 and below
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/mixin/powershell_out_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/mixin/powershell_out_spec.rb b/spec/functional/mixin/powershell_out_spec.rb index d9b5c69cd6..22df0f92c9 100644 --- a/spec/functional/mixin/powershell_out_spec.rb +++ b/spec/functional/mixin/powershell_out_spec.rb @@ -27,7 +27,7 @@ describe Chef::Mixin::PowershellOut, :windows_only do end it "uses :powershell by default" do - expect(powershell_out("$PSVersionTable").run_command.stdout).to match /Desktop/ + expect(powershell_out("$PSVersionTable").run_command.stdout).to match /CLRVersion/ end it ":pwsh interpreter uses core edition", :pwsh_installed do |