app: add /healthz liveness endpoint
This commit is contained in:
parent
9485b6b72a
commit
afde73e772
2 changed files with 18 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ class AppTest < Minitest::Test
|
|||
assert last_response.ok?
|
||||
end
|
||||
|
||||
def test_healthz
|
||||
get '/healthz'
|
||||
assert last_response.ok?
|
||||
assert_equal 'ok', last_response.body
|
||||
end
|
||||
|
||||
# --- contact form ---------------------------------------------------------
|
||||
|
||||
def contact_params(over = {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue