From 7627886c32e9e77c2ceaef42d82681c2cf9f1bbc Mon Sep 17 00:00:00 2001 From: Inhji Date: Sun, 16 Jul 2023 16:40:33 +0200 Subject: [PATCH] mix tests --- lib/chiya_web/controllers/error_html/404.html.heex | 2 +- test/chiya/tag_updater_test.exs | 2 +- test/chiya_web/controllers/error_html_test.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/chiya_web/controllers/error_html/404.html.heex b/lib/chiya_web/controllers/error_html/404.html.heex index c87ce2e..94b9cb1 100644 --- a/lib/chiya_web/controllers/error_html/404.html.heex +++ b/lib/chiya_web/controllers/error_html/404.html.heex @@ -1,6 +1,6 @@ - Not found + Not Found diff --git a/test/chiya/tag_updater_test.exs b/test/chiya/tag_updater_test.exs index e45b5a8..02885af 100644 --- a/test/chiya/tag_updater_test.exs +++ b/test/chiya/tag_updater_test.exs @@ -51,7 +51,7 @@ defmodule Chiya.TagUpdaterTest do assert Enum.count(note.tags) == 1 tag = List.first(note.tags) - assert tag.name == "Foo" + assert tag.name == "foo" end end end diff --git a/test/chiya_web/controllers/error_html_test.exs b/test/chiya_web/controllers/error_html_test.exs index 828629e..6bd6bd7 100644 --- a/test/chiya_web/controllers/error_html_test.exs +++ b/test/chiya_web/controllers/error_html_test.exs @@ -9,6 +9,6 @@ defmodule ChiyaWeb.ErrorHTMLTest do end test "renders 500.html" do - assert render_to_string(ChiyaWeb.ErrorHTML, "500", "html", []) =~ "Internal Server Error" + assert render_to_string(ChiyaWeb.ErrorHTML, "500", "html", []) =~ "Infernal Server Error" end end