]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
MODULES-1453 - typo in test
authorMorgan Haskel <morgan@puppetlabs.com>
Mon, 26 Jan 2015 18:14:12 +0000 (10:14 -0800)
committerMorgan Haskel <morgan@puppetlabs.com>
Mon, 26 Jan 2015 18:14:12 +0000 (10:14 -0800)
spec/acceptance/firewall_spec.rb

index ac47f71750d79b5e4d0b30b414bfaa330a0ab042..8c29dee36035b7a5fd76499724e23c8baf83f908 100644 (file)
@@ -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