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

9 lines
221 B
Elixir

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