25/test/mse25_web/controllers/page_controller_test.exs
Anders Englöf Ytterström 8e1f1bae97 Initiate next madr.se site
mix phx.new mse25 \
  --no-ecto \
  --no-tailwind \
  --no-dashboard \
  --no-live \
  --no-mailer
2024-09-04 10:12:36 +02:00

8 lines
221 B
Elixir

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