f9c2f7b8f2
* Updated dockerfile * added a healthcheck
11 lines
267 B
Elixir
11 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
|