From 401d1e74a5740132b901a4ff629cb64960acd755 Mon Sep 17 00:00:00 2001 From: Jan Vansteenkiste Date: Wed, 22 Aug 2012 23:15:06 +0200 Subject: [PATCH] spec test fixtures should represent real use cases --- spec/fixtures/iptables/conversion_hash.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', -- 2.45.2