13 lines
286 B
Elixir
13 lines
286 B
Elixir
|
defmodule ChronoscopeWeb.API.V1.HealthControllerTest do
|
||
|
use ChronoscopeWeb.ConnCase, async: true
|
||
|
|
||
|
test "indicates health", %{conn: conn} do
|
||
|
response =
|
||
|
conn
|
||
|
|> get(~p"/api/v1/health")
|
||
|
|> json_response(200)
|
||
|
|
||
|
assert %{"healthy" => true} == response
|
||
|
end
|
||
|
end
|