diff options
author | Patrick Schaumburg <pschaumburg@tecracer.de> | 2020-03-27 08:05:18 +0100 |
---|---|---|
committer | Patrick Schaumburg <pschaumburg@tecracer.de> | 2020-03-27 08:05:18 +0100 |
commit | 2d3355e6ad0a0ad3f8371555fff7c8aa5b6049c6 (patch) | |
tree | b62c30b744beffed3a9f34c3fce1faef563d8738 /spec/unit | |
parent | 2d901d1df54d21ab2d48a5163e2f82f31bf2ae23 (diff) | |
download | chef-2d3355e6ad0a0ad3f8371555fff7c8aa5b6049c6.tar.gz |
fix wrong property name in tests
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/resource/windows_firewall_rule_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/windows_firewall_rule_spec.rb b/spec/unit/resource/windows_firewall_rule_spec.rb index a0aebe324a..bcbcafe550 100644 --- a/spec/unit/resource/windows_firewall_rule_spec.rb +++ b/spec/unit/resource/windows_firewall_rule_spec.rb @@ -131,12 +131,12 @@ describe Chef::Resource::WindowsFirewallRule do end it "the icmp_type property accepts strings" do - resource.protocol("Any") + resource.icmp_type("Any") expect(resource.protocol).to eql("Any") end it "the icmp_type property accepts integers" do - resource.protocol(8) + resource.icmp_type(8) expect(resource.protocol).to eql(8) end |