mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-10 00:47:45 +08:00
10 lines
250 B
Elixir
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
|