programming-phoenix-liveview/pento/test/pento_web/controllers/page_controller_test.exs

9 lines
221 B
Elixir
Raw Normal View History

2024-08-15 19:14:55 +02:00
defmodule PentoWeb.PageControllerTest do
use PentoWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end