9 lines
234 B
Elixir
9 lines
234 B
Elixir
defmodule ChiyaWeb.PageControllerTest do
|
|
use ChiyaWeb.ConnCase
|
|
|
|
test "GET /", %{conn: conn} do
|
|
conn = get(conn, ~p"/")
|
|
assert html_response(conn, 200) =~ "Title"
|
|
assert html_response(conn, 200) =~ "Subtitle"
|
|
end
|
|
end
|