Initial commit 🎉

This commit is contained in:
Kieran Eglin committed 2024-01-18 20:32:01 -08:00
commit 1455cee3af
928 files changed
+5419

No files matched your search

@@ -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