dotfiles/app/test/prymn_web/controllers/page_controller_test.exs

9 lines
186 B
Elixir
Raw Normal View History

2023-06-01 09:49:27 +00:00
defmodule PrymnWeb.PageControllerTest do
use PrymnWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
2023-06-09 19:13:27 +00:00
assert html_response(conn, 200) =~ "Welcome"
2023-06-01 09:49:27 +00:00
end
end