diff options
author | mwrock <matt@mattwrock.com> | 2020-10-29 13:11:51 -0700 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-10-29 13:11:51 -0700 |
commit | b70de6a1a80bee1d75e5410230dc5d63228fe99d (patch) | |
tree | f43604514253da8544191e0f370ab77b27c782ef | |
parent | c43ab7a6e94116699dc0416965984413743b0548 (diff) | |
download | chef-out_to_exec.tar.gz |
more troubleshootingout_to_exec
Signed-off-by: mwrock <matt@mattwrock.com>
-rw-r--r-- | habitat/tests/spec.ps1 | 2 | ||||
-rw-r--r-- | spec/functional/resource/windows_firewall_rule_spec.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/habitat/tests/spec.ps1 b/habitat/tests/spec.ps1 index 2d98de822a..167077552b 100644 --- a/habitat/tests/spec.ps1 +++ b/habitat/tests/spec.ps1 @@ -19,7 +19,7 @@ try { hab pkg binlink --force $PackageIdentifier - /hab/bin/rspec --format documentation --tag ~executables --tag ~choco_installed spec/functional + /hab/bin/rspec --format documentation --tag ~executables --tag ~choco_installed spec/functional/resource/windows_firewall_rule_spec.rb if (-not $?) { Write-Host "Importing NetSecurity..." Import-Module NetSecurity diff --git a/spec/functional/resource/windows_firewall_rule_spec.rb b/spec/functional/resource/windows_firewall_rule_spec.rb index 86220c1b71..db5152feb6 100644 --- a/spec/functional/resource/windows_firewall_rule_spec.rb +++ b/spec/functional/resource/windows_firewall_rule_spec.rb @@ -46,6 +46,7 @@ describe Chef::Resource::WindowsFirewallRule, :windows_only do after { delete_rule } it "creates the rule" do + puts powershell_exec!("Import-Module NetSecurity;get-module").result subject.run_action(:create) expect(get_installed_rule_name).to eq(rule_name) expect(get_installed_rule_remote_port).to eq(remote_port) |