initial: first commit ever

This commit is contained in:
2024-10-07 23:20:11 +00:00
commit ec3b82cd00
65 changed files with 2797 additions and 0 deletions

View File

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