From 9ff0f001a138304b5dd6813d4e07c9f69d183cb4 Mon Sep 17 00:00:00 2001 From: adrianiurca Date: Fri, 10 Sep 2021 09:43:37 +0300 Subject: [PATCH] add unit test for carp protocol --- spec/unit/puppet/type/firewall_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/puppet/type/firewall_spec.rb b/spec/unit/puppet/type/firewall_spec.rb index d034b38..a31f022 100755 --- a/spec/unit/puppet/type/firewall_spec.rb +++ b/spec/unit/puppet/type/firewall_spec.rb @@ -83,7 +83,7 @@ describe firewall do # rubocop:disable RSpec/MultipleDescribes end describe ':proto' do - [:ip, :tcp, :udp, :icmp, :esp, :ah, :vrrp, :igmp, :ipencap, :ipv4, :ipv6, :ospf, :gre, :pim, :all].each do |proto| + [:ip, :tcp, :udp, :icmp, :esp, :ah, :vrrp, :carp, :igmp, :ipencap, :ipv4, :ipv6, :ospf, :gre, :pim, :all].each do |proto| it "accepts proto value #{proto}" do resource[:proto] = proto expect(resource[:proto]).to eql proto -- 2.45.2