fix some warning

This commit is contained in:
Vipul A M
2013-04-18 11:03:54 +05:30
parent 93013c2e89
commit b871bd5036
4 changed files with 18 additions and 11 deletions

View File

@@ -80,9 +80,9 @@ class FailureTest < ActiveSupport::TestCase
test 'setup a default message' do
call_failure
assert_match /You are being/, @response.last.body
assert_match /redirected/, @response.last.body
assert_match /users\/sign_in/, @response.last.body
assert_match(/You are being/, @response.last.body)
assert_match(/redirected/, @response.last.body)
assert_match(/users\/sign_in/, @response.last.body)
end
test 'works for any navigational format' do