]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(#10619) Fix tests since we are now prefixing -t <table> during delete
authorKen Barber <ken@bob.sh>
Sat, 24 Mar 2012 22:35:07 +0000 (22:35 +0000)
committerKen Barber <ken@bob.sh>
Sun, 25 Mar 2012 02:44:22 +0000 (03:44 +0100)
spec/unit/puppet/provider/iptables_spec.rb

index 19e70a4c78ae500422ab057506b2496a95ebbfa9..33863d2aab6d30e09ac2c3a2f9f1f0d8bb4f6558 100644 (file)
@@ -159,7 +159,8 @@ describe 'iptables provider' do
     end
 
     it 'delete_args is the same as the rule string when joined' do
-      instance.delete_args.join(' ').should == sample_rule.gsub(/\-A/, '-D')
+      instance.delete_args.join(' ').should == sample_rule.gsub(/\-A/,
+        '-t filter -D')
     end
   end
 end