From: Jan Vansteenkiste Date: Wed, 22 Aug 2012 21:15:06 +0000 (+0200) Subject: spec test fixtures should represent real use cases X-Git-Tag: 0.5.0~18^2~5 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=401d1e74a5740132b901a4ff629cb64960acd755;p=puppet-modules%2Fpuppetlabs-firewall.git spec test fixtures should represent real use cases --- diff --git a/spec/fixtures/iptables/conversion_hash.rb b/spec/fixtures/iptables/conversion_hash.rb index 8fb77b0..28cfdbb 100644 --- a/spec/fixtures/iptables/conversion_hash.rb +++ b/spec/fixtures/iptables/conversion_hash.rb @@ -90,7 +90,7 @@ ARGS_TO_HASH = { }, }, 'source_destination_negate_source' => { - :line => '-A INPUT -s ! 1.1.1.1 -d 2.2.2.2 -m comment --comment "000 negated source address"', + :line => '-A INPUT ! -s 1.1.1.1 -d 2.2.2.2 -m comment --comment "000 negated source address"', :table => 'filter', :params => { :source => '! 1.1.1.1/32', @@ -98,7 +98,7 @@ ARGS_TO_HASH = { }, }, 'source_destination_negate_destination' => { - :line => '-A INPUT -s 1.1.1.1 -d ! 2.2.2.2 -m comment --comment "000 negated destination address"', + :line => '-A INPUT -s 1.1.1.1 ! -d 2.2.2.2 -m comment --comment "000 negated destination address"', :table => 'filter', :params => { :source => '1.1.1.1/32',