Fix test
This commit is contained in:
parent
5e3b8cc4c9
commit
447839d0a4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user