From 2eb4a69a5ec833040677c6d2353ea7b23a6806e7 Mon Sep 17 00:00:00 2001 From: Nick Plante Date: Fri, 2 Jan 2009 08:50:20 -0500 Subject: [PATCH] eliminiate ambiguous argument warning (parenthesize args) --- test/simplepay/test_service.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/simplepay/test_service.rb b/test/simplepay/test_service.rb index 1ed4c33..de2fe41 100644 --- a/test/simplepay/test_service.rb +++ b/test/simplepay/test_service.rb @@ -64,12 +64,12 @@ class Simplepay::TestService < Test::Unit::TestCase should 'generate an HTML FORM' do @service.required = 'set' - assert_match /\A
\Z/i, @service.form + assert_match(/\A\Z/i, @service.form) end should 'post the form to the endpoint' do - assert_match / 'set'}) + assert_match(/ 'set'})) end should 'generate HIDDEN HTML INPUTs for each non-empty field' do @@ -115,4 +115,4 @@ class Simplepay::TestService < Test::Unit::TestCase end -end \ No newline at end of file +end