summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" }