2022-11-26 15:37:24 +00:00
|
|
|
defmodule ChatWeb.PageControllerTest do
|
|
|
|
use ChatWeb.ConnCase
|
|
|
|
|
|
|
|
test "GET /", %{conn: conn} do
|
|
|
|
conn = get(conn, "/")
|
2022-11-26 16:27:01 +00:00
|
|
|
assert html_response(conn, 200) =~ "Chat Example"
|
2022-11-26 15:37:24 +00:00
|
|
|
end
|
|
|
|
end
|