strat/test/strat_web/controllers/page_controller_test.exs

9 lines
221 B
Elixir
Raw Permalink Normal View History

2024-04-12 18:42:10 +00:00
defmodule StratWeb.PageControllerTest do
use StratWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end