From: Ken Barber Date: Sat, 24 Mar 2012 22:35:07 +0000 (+0000) Subject: (#10619) Fix tests since we are now prefixing -t during delete X-Git-Tag: 0.1.0~34^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=39b6f32790f0e7952f1537e7c07502e7ad1721f1;p=puppet-modules%2Fpuppetlabs-firewall.git (#10619) Fix tests since we are now prefixing -t
during delete --- diff --git a/spec/unit/puppet/provider/iptables_spec.rb b/spec/unit/puppet/provider/iptables_spec.rb index 19e70a4..33863d2 100644 --- a/spec/unit/puppet/provider/iptables_spec.rb +++ b/spec/unit/puppet/provider/iptables_spec.rb @@ -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