summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-25 21:02:54 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-06-25 21:02:54 -0700
commita76c8b4ee1def0bc73451a48e4d5ba30bc4c390d (patch)
tree798a5b285b66433725e97e25a6cefbda598e5420
parenta0ccd0b35f482b242913bf63719c55d2e5c962ea (diff)
downloadchef-a76c8b4ee1def0bc73451a48e4d5ba30bc4c390d.tar.gz
updated the tests to add a registry key for Windows
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--spec/integration/recipes/notifies_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/recipes/notifies_spec.rb b/spec/integration/recipes/notifies_spec.rb
index d1b8de9c71..7ce0a65f35 100644
--- a/spec/integration/recipes/notifies_spec.rb
+++ b/spec/integration/recipes/notifies_spec.rb
@@ -27,7 +27,7 @@ end
describe "notifications" do
include IntegrationSupport
include Chef::Mixin::ShellOut
- include ChefPowerShell::ChefPowerShellModule::PowerShellExec
+ include ChefPowerShell::ChefPowerShellModule::PowerShellExec if windows?
let(:chef_dir) { File.expand_path("../../..", __dir__) }
let(:chef_client) { "bundle exec #{ChefUtils::Dist::Infra::CLIENT} --minimal-ohai --always-dump-stacktrace" }