Initial commit 🎉

This commit is contained in:
Kieran Eglin
2024-01-18 20:32:01 -08:00
commit 1455cee3af
928 changed files with 5419 additions and 0 deletions
@@ -0,0 +1,12 @@
defmodule PinchflatWeb.ErrorJSONTest do
use PinchflatWeb.ConnCase, async: true
test "renders 404" do
assert PinchflatWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
end
test "renders 500" do
assert PinchflatWeb.ErrorJSON.render("500.json", %{}) ==
%{errors: %{detail: "Internal Server Error"}}
end
end