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