From 6569d8c744db6213097ea92e148a9b4b2441557e Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Mon, 26 Jan 2015 10:14:12 -0800 Subject: [PATCH] MODULES-1453 - typo in test --- spec/acceptance/firewall_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/firewall_spec.rb b/spec/acceptance/firewall_spec.rb index ac47f7175..8c29dee36 100644 --- a/spec/acceptance/firewall_spec.rb +++ b/spec/acceptance/firewall_spec.rb @@ -2222,7 +2222,7 @@ class { '::firewall': } 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 @@ class { '::firewall': } 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