diff --git a/test/philomena_web/controllers/confirmation_controller_test.exs b/test/philomena_web/controllers/confirmation_controller_test.exs index 049fd6d1..eb89dbb8 100644 --- a/test/philomena_web/controllers/confirmation_controller_test.exs +++ b/test/philomena_web/controllers/confirmation_controller_test.exs @@ -14,7 +14,7 @@ defmodule PhilomenaWeb.ConfirmationControllerTest do test "renders the confirmation page", %{conn: conn} do conn = get(conn, ~p"/confirmations/new") response = html_response(conn, 200) - assert response =~ "

Resend confirmation instructions

" + assert response =~ "Resend confirmation instructions" end end diff --git a/test/philomena_web/controllers/session_controller_test.exs b/test/philomena_web/controllers/session_controller_test.exs index 29d8d7f2..3361d387 100644 --- a/test/philomena_web/controllers/session_controller_test.exs +++ b/test/philomena_web/controllers/session_controller_test.exs @@ -33,8 +33,8 @@ defmodule PhilomenaWeb.SessionControllerTest do conn = get(conn, "/registrations/edit") response = html_response(conn, 200) assert response =~ user.email - assert response =~ "Settings" - assert response =~ "Logout" + assert response =~ "Settings" + assert response =~ "Logout" end test "logs the user in with remember me", %{conn: conn, user: user} do diff --git a/test/philomena_web/controllers/unlock_controller_test.exs b/test/philomena_web/controllers/unlock_controller_test.exs index bc8df85e..7c30ef2b 100644 --- a/test/philomena_web/controllers/unlock_controller_test.exs +++ b/test/philomena_web/controllers/unlock_controller_test.exs @@ -14,7 +14,7 @@ defmodule PhilomenaWeb.UnlockControllerTest do test "renders the unlock page", %{conn: conn} do conn = get(conn, ~p"/unlocks/new") response = html_response(conn, 200) - assert response =~ "

Resend unlock instructions

" + assert response =~ "Resend unlock instructions" end end