Skip to content

Commit

Permalink
Update error page test
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Feb 26, 2024
1 parent e981c1c commit 39c0691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/polar_web/controllers/error_html_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule PolarWeb.ErrorHTMLTest do
import Phoenix.Template

test "renders 404.html" do
assert render_to_string(PolarWeb.ErrorHTML, "404", "html", []) == "Not Found"
assert render_to_string(PolarWeb.ErrorHTML, "404", "html", []) =~ "Not Found"
end

test "renders 500.html" do
Expand Down

0 comments on commit 39c0691

Please sign in to comment.