init pheonix app !

This commit is contained in:
ryan committed 2023-03-29 20:55:14 -07:00
1 parent ba5b72158d
commit e8b77de740
922 files changed
+5250 -1

No files matched your search

@@ -0,0 +1,14 @@
defmodule CiterunWeb.ErrorHTMLTest do
use CiterunWeb.ConnCase, async: true
# Bring render_to_string/4 for testing custom views
import Phoenix.Template
test "renders 404.html" do
assert render_to_string(CiterunWeb.ErrorHTML, "404", "html", []) == "Not Found"
end
test "renders 500.html" do
assert render_to_string(CiterunWeb.ErrorHTML, "500", "html", []) == "Internal Server Error"
end
end