Skip to content

Commit

Permalink
fix failing tests dwyl/technology-stack#94
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jun 21, 2022
1 parent 24ec6b5 commit c08cd09
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down
2 changes: 1 addition & 1 deletion test/app_web/controllers/page_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c08cd09

Please sign in to comment.