Fix tests and add more comments

This commit is contained in:
Jyri-Petteri Paloposki 2020-08-11 11:50:35 +03:00
parent 46b8d3ce9f
commit 95cb7ec799
2 changed files with 10 additions and 4 deletions

View file

@ -140,7 +140,7 @@ class ActionDispatch::IntegrationTest
end
def assert_401_unauthorized_admin
assert_response_and_body 401, "401 Unauthorized: Only admin users are allowed access to this function."
assert_response_and_body 401, "401 Unauthorized: Only administrative users are allowed access to this function."
end
def assert_responses_with_error(error_msg)