chronoscope/test/chronoscope_web/controllers/page_controller_test.exs

13 lines
255 B
Elixir

defmodule ChronoscopeWeb.PageControllerTest do
use ChronoscopeWeb.ConnCase, async: true
import Mox
setup :verify_on_exit!
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Chronoscope"
end
end