diff --git a/README.md b/README.md index b68495e..d983360 100644 --- a/README.md +++ b/README.md @@ -509,6 +509,18 @@ in your web browser: Those semantic utility class names should give you a _flavour_ for what to expect in the UI. +Fix the failing tests! + +Open `test/app_web/controllers/page_controller_test.exs` +and change the assertion from: +```elixir +assert html_response(conn, 200) =~ "Welcome to Phoenix!" +``` + +to: +```elixir +assert html_response(conn, 200) =~ "Hello TailWorld!" +``` ### More Detailed Example! diff --git a/test/app_web/controllers/page_controller_test.exs b/test/app_web/controllers/page_controller_test.exs index 4bb48b7..7619e5d 100644 --- a/test/app_web/controllers/page_controller_test.exs +++ b/test/app_web/controllers/page_controller_test.exs @@ -3,6 +3,6 @@ defmodule AppWeb.PageControllerTest do test "GET /", %{conn: conn} do conn = get(conn, "/") - assert html_response(conn, 200) =~ "Welcome to Phoenix!" + assert html_response(conn, 200) =~ "Hello TailWorld!" end end