server/test/site_web/controllers/page_controller_test.exs

9 lines
219 B
Elixir
Raw Normal View History

2023-11-28 17:50:13 +00:00
defmodule SiteWeb.PageControllerTest do
use SiteWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end