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