freedive/test/freedive_web/controllers/page_controller_test.exs

9 lines
195 B
Elixir
Raw Permalink Normal View History

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