pinchflat/test/pinchflat_web/controllers/health_controller_test.exs
2024-04-02 11:47:25 -07:00

10 lines
267 B
Elixir

defmodule PinchflatWeb.HealthControllerTest do
use PinchflatWeb.ConnCase
describe "GET /healthcheck" do
test "returns ok", %{conn: conn} do
conn = get(conn, "/healthcheck")
assert json_response(conn, 200) == %{"status" => "ok"}
end
end
end