2024-05-09 21:28:48 +02:00
|
|
|
defmodule FreediveWeb.PageControllerTest do
|
|
|
|
use FreediveWeb.ConnCase
|
|
|
|
|
|
|
|
test "GET /", %{conn: conn} do
|
|
|
|
conn = get(conn, ~p"/")
|
2024-05-13 19:35:09 +02:00
|
|
|
assert html_response(conn, 302) =~ "redirected"
|
2024-05-09 21:28:48 +02:00
|
|
|
end
|
|
|
|
end
|