summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasu1105 <vasundhara.jagdale@msystechnologies.com>2020-01-30 03:01:55 -0800
committerVasu1105 <vasundhara.jagdale@msystechnologies.com>2020-01-30 03:01:55 -0800
commit58e9b7efad739cce6d50582c94f5bf0ea9228054 (patch)
tree13b476aad7c84b78e8d5f64aa6c58fedfde51f67
parent5e2591bdc738b99a8bf3776bf40f876f51e80c66 (diff)
downloadchef-58e9b7efad739cce6d50582c94f5bf0ea9228054.tar.gz
windows_firewall_rule resource does not have enable action so passing default action to fix wrong argurment
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
-rw-r--r--spec/unit/resource/windows_firewall_rule_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/windows_firewall_rule_spec.rb b/spec/unit/resource/windows_firewall_rule_spec.rb
index 2e35fa18e1..71bcb260e6 100644
--- a/spec/unit/resource/windows_firewall_rule_spec.rb
+++ b/spec/unit/resource/windows_firewall_rule_spec.rb
@@ -19,7 +19,7 @@ require "spec_helper"
describe Chef::Resource::WindowsFirewallRule do
let(:resource) { Chef::Resource::WindowsFirewallRule.new("rule") }
- let(:provider) { resource.provider_for_action(:enable) }
+ let(:provider) { resource.provider_for_action(:create) }
it "has a resource name of :windows_firewall_rule" do
expect(resource.resource_name).to eql(:windows_firewall_rule)