From: adrianiurca Date: Fri, 10 Sep 2021 06:43:37 +0000 (+0300) Subject: add unit test for carp protocol X-Git-Tag: v3.3.0~8^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9ff0f001a138304b5dd6813d4e07c9f69d183cb4;p=puppet-modules%2Fpuppetlabs-firewall.git add unit test for carp protocol --- 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