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,14 @@
defmodule PinchflatWeb.ErrorHTMLTest do
use PinchflatWeb.ConnCase, async: true
# Bring render_to_string/4 for testing custom views
import Phoenix.Template
test "renders 404.html" do
assert render_to_string(PinchflatWeb.ErrorHTML, "404", "html", []) == "Not Found"
end
test "renders 500.html" do
assert render_to_string(PinchflatWeb.ErrorHTML, "500", "html", []) == "Internal Server Error"
end
end