mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-15 04:15:18 +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
|