+ Internal Server Error
+
+ This shouldn't happen! Please make a
+ <.inline_link href="https://github.com/kieraneglin/pinchflat/issues/new/choose">GitHub issue
+ with the following information:
+
+
+
+ - What you were doing when you saw this page
+ -
+ Your system details and logs from
+ <.inline_link href={~p"/app_info"}>app info
+
+ - All the information in the textarea below (use select all + copy)
+
+
+
diff --git a/test/pinchflat_web/controllers/error_html_test.exs b/test/pinchflat_web/controllers/error_html_test.exs
index d9baab3f..89bb46a3 100644
--- a/test/pinchflat_web/controllers/error_html_test.exs
+++ b/test/pinchflat_web/controllers/error_html_test.exs
@@ -5,10 +5,10 @@ defmodule PinchflatWeb.ErrorHTMLTest do
import Phoenix.Template
test "renders 404.html" do
- assert render_to_string(PinchflatWeb.ErrorHTML, "404", "html", []) == "Not Found"
+ assert render_to_string(PinchflatWeb.ErrorHTML, "404", "html", []) =~ "404 (not found)"
end
test "renders 500.html" do
- assert render_to_string(PinchflatWeb.ErrorHTML, "500", "html", []) == "Internal Server Error"
+ assert render_to_string(PinchflatWeb.ErrorHTML, "500", "html", []) =~ "Internal Server Error"
end
end