annot.at is a service for syncing static websites, such as blogs, to atproto and standard.site annot.at
elixir atproto standardsite
Something went wrong. Try again.
354 B · 12 lines
Elixir
12345678910111213defmodule AnnotAtWeb.ErrorJSONTest do use AnnotAtWeb.ConnCase, async: true
test "renders 404" do assert AnnotAtWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}} end
test "renders 500" do assert AnnotAtWeb.ErrorJSON.render("500.json", %{}) == %{errors: %{detail: "Internal Server Error"}} endend