homeman-elixir/test/homeman_web/controllers/page_controller_test.exs

9 lines
225 B
Elixir
Raw Permalink Normal View History

2024-01-21 23:26:07 -06:00
defmodule HomemanWeb.PageControllerTest do
use HomemanWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end