This commit is contained in:
Marcin Kulik 2016-10-20 22:39:15 +00:00
parent 5e3b8cc4c9
commit 447839d0a4

View File

@ -5,8 +5,8 @@ defmodule Asciinema.ErrorViewTest do
import Phoenix.View import Phoenix.View
test "renders 404.html" do test "renders 404.html" do
assert render_to_string(Asciinema.ErrorView, "404.html", []) == assert render_to_string(Asciinema.ErrorView, "404.html", []) =~
"Page not found" "not found"
end end
test "render 500.html" do test "render 500.html" do