freedive/test/freedive_web/controllers/page_controller_test.exs

8 lines
227 B
Elixir

defmodule FreediveWeb.PageControllerTest do
use FreediveWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end