chronoscope/test/chronoscope_web/controllers/page_controller_test.exs

13 lines
255 B
Elixir
Raw Normal View History

2024-03-09 14:27:14 -05:00
defmodule ChronoscopeWeb.PageControllerTest do
2024-04-19 11:51:28 -04:00
use ChronoscopeWeb.ConnCase, async: true
2024-03-09 14:27:14 -05:00
2024-05-29 16:25:27 -04:00
import Mox
setup :verify_on_exit!
2024-03-09 14:27:14 -05:00
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
2024-05-29 16:25:27 -04:00
assert html_response(conn, 200) =~ "Chronoscope"
2024-03-09 14:27:14 -05:00
end
end