this is a really good first commit

This commit is contained in:
2023-01-18 16:13:51 +01:00
parent 6bc40e339a
commit be71f04838
117 changed files with 2972 additions and 3100 deletions

View File

@ -0,0 +1,12 @@
defmodule SomethingErlangWeb.ErrorJSONTest do
use SomethingErlangWeb.ConnCase, async: true
test "renders 404" do
assert SomethingErlangWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
end
test "renders 500" do
assert SomethingErlangWeb.ErrorJSON.render("500.json", %{}) ==
%{errors: %{detail: "Internal Server Error"}}
end
end