livebook/test/livebook_web/controllers/errors_test.exs
2023-06-20 17:33:38 +02:00

10 lines
250 B
Elixir

defmodule LivebookWeb.ErrorsTest do
use LivebookWeb.ConnCase, async: true
test "renders 404", %{conn: conn} do
conn = get(conn, "/this/does/not/exist")
assert conn.status == 404
assert conn.resp_body =~ "No Numbats here!"
end
end