comfycamp/test/comfycamp_web/controllers/page_controller_test.exs

8 lines
210 B
Elixir

defmodule ComfycampWeb.PageControllerTest do
use ComfycampWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Уютный домик"
end
end