freedive/test/freedive_web/controllers/page_controller_test.exs

8 lines
195 B
Elixir

defmodule FreediveWeb.PageControllerTest do
use FreediveWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 302) =~ "redirected"
end
end