app: add /healthz liveness endpoint

This commit is contained in:
Sergei Poljanski 2026-07-02 18:32:52 +04:00
commit afde73e772
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 18 additions and 0 deletions

View file

@ -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 = {})