summaryrefslogtreecommitdiff
path: root/test/silmataivas_web/controllers/health_controller_test.exs
blob: 2a6a4044f64cb8205766308590892c8fe31e41b3 (plain)
1
2
3
4
5
6
7
8
defmodule SilmataivasWeb.HealthControllerTest do
  use SilmataivasWeb.ConnCase

  test "GET /health returns status ok", %{conn: conn} do
    conn = get(conn, ~p"/health")
    assert json_response(conn, 200) == %{"status" => "ok"}
  end
end