We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c0961 commit 4fec213Copy full SHA for 4fec213
test/algora_web/controllers/error_html_test.exs
@@ -5,7 +5,7 @@ defmodule AlgoraWeb.ErrorHTMLTest do
5
import Phoenix.Template
6
7
test "renders 404.html" do
8
- assert render_to_string(AlgoraWeb.ErrorHTML, "404", "html", []) == "Not Found"
+ assert render_to_string(AlgoraWeb.ErrorHTML, "404", "html", []) =~ "could not be found"
9
end
10
11
test "renders 500.html" do
0 commit comments