From: Morgan Haskel Date: Mon, 26 Jan 2015 18:14:12 +0000 (-0800) Subject: MODULES-1453 - typo in test X-Git-Tag: 1.4.0~2^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6569d8c744db6213097ea92e148a9b4b2441557e;p=puppet-modules%2Fpuppetlabs-firewall.git MODULES-1453 - typo in test --- diff --git a/spec/acceptance/firewall_spec.rb b/spec/acceptance/firewall_spec.rb index ac47f71..8c29dee 100644 --- a/spec/acceptance/firewall_spec.rb +++ b/spec/acceptance/firewall_spec.rb @@ -2222,7 +2222,7 @@ describe 'firewall type', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfami it 'should contain the rule' do shell('iptables-save') do |r| - expect(r.stdout).to match(/-A INPUT -p tcp -m comment --comment "100 foo bar" -j LOG --log-prefix "FW-A-INPUT: "/) + expect(r.stdout).to match(/-A INPUT -p tcp -m comment --comment "700 - test" -j LOG --log-prefix "FW-A-INPUT: "/) end end @@ -2241,7 +2241,7 @@ describe 'firewall type', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfami it 'should not contain the rule' do shell('iptables-save') do |r| - expect(r.stdout).to_not match(/-A INPUT -p tcp -m comment --comment "100 foo bar" -j LOG --log-prefix "FW-A-INPUT: "/) + expect(r.stdout).to_not match(/-A INPUT -p tcp -m comment --comment "700 - test" -j LOG --log-prefix "FW-A-INPUT: "/) end end end