mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Fix tests and add more comments
This commit is contained in:
parent
46b8d3ce9f
commit
95cb7ec799
2 changed files with 10 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue