From 447839d0a41c86748851ddf0b331c543b47a68a0 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Thu, 20 Oct 2016 22:39:15 +0000 Subject: [PATCH] Fix test --- test/views/error_view_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/views/error_view_test.exs b/test/views/error_view_test.exs index 8680210..ebb260e 100644 --- a/test/views/error_view_test.exs +++ b/test/views/error_view_test.exs @@ -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