]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Fix minor test bug for latest puppet
authorKen Barber <ken@bob.sh>
Mon, 10 Jun 2013 10:24:52 +0000 (11:24 +0100)
committerKen Barber <ken@bob.sh>
Mon, 10 Jun 2013 10:24:52 +0000 (11:24 +0100)
Signed-off-by: Ken Barber <ken@bob.sh>
spec/unit/puppet/type/firewall_spec.rb

index 4ed4dcb9581ed560f57184ad3c3b1a03ceac4e85..db28b9225d5148dd3b5249a3767b392dd627665e 100755 (executable)
@@ -309,7 +309,7 @@ describe firewall do
           :action => "accept",
           :jump => "custom_chain"
         )
-      }.to raise_error(Puppet::Error, /^Only one of the parameters 'action' and 'jump' can be set$/)
+      }.to raise_error(Puppet::Error, /Only one of the parameters 'action' and 'jump' can be set$/)
     end
   end
   describe ':gid and :uid' do