diff --git a/README.md b/README.md
index 2e5f2c2f..f208c0dd 100644
--- a/README.md
+++ b/README.md
@@ -115,10 +115,10 @@ If you run the following command in your terminal:
mix phx.new -v
```
-You should see:
+You should see something similar to the following:
```sh
-Phoenix v1.6.2
+Phoenix installer v1.6.0
```
If you have an earlier version,
@@ -288,9 +288,6 @@ in your web browser.
![welcome-to-phoenix](https://user-images.githubusercontent.com/194400/76152198-ae210200-60b4-11ea-956f-68935daddfe0.png)
-😱 If you are having problems with the server hanging, try
-[this](#problems-with-dependencies)
-
> 🏁 Snapshot of code at the end of Step 1:
> [`#c48488`](https://github.com/dwyl/phoenix-liveview-counter-tutorial/tree/c4848853beb2df3327663270d1018a128bbcf0fa)
@@ -582,14 +579,14 @@ will now _fail_:
Compiling 1 file (.ex)
..
-1) test disconnected and connected render (LiveViewCounterWeb.PageLiveTest)
- test/live_view_counter_web/live/page_live_test.exs:6
+1) test GET / (LiveViewCounterWeb.PageControllerTest)
+ test/live_view_counter_web/controllers/page_controller_test.exs:4
Assertion with =~ failed
- code: assert disconnected_html =~ "Welcome to Phoenix!"
+ code: assert html_response(conn, 200) =~ "Welcome to Phoenix!"
left: "
LiveViewCounter · Phoenix Framework
The count is: 0
"
right: "Welcome to Phoenix!"
stacktrace:
- test/live_view_counter_web/live/page_live_test.exs:8: (test)
+ test/live_view_counter_web/controllers/page_controller_test.exs:6: (test)
Finished in 0.1 seconds
@@ -600,12 +597,11 @@ This just tells us that the test is looking for the string
`"Welcome to Phoenix!"` in the page and did not find it.
To fix the broken test, open the
-`test/live_view_counter_web/live/page_live_test.exs`
-file and locate the lines:
+`test/live_view_counter_web/controllers/page_controller_test.exs`
+file and locate the line:
```elixir
-assert disconnected_html =~ "Welcome to Phoenix!"
-assert render(page_live) =~ "Welcome to Phoenix!"
+assert html_response(conn, 200) =~ "Welcome to Phoenix!"
```
Update the string from `"Welcome to Phoenix!"`
@@ -614,7 +610,8 @@ e.g:
`"The count is"`
> 🏁 The `page_live_test.exs` file should now look like this:
-> [`test/live_view_counter_web/live/page_live_test.exs#L8-L9`](https://github.com/dwyl/phoenix-liveview-counter-tutorial/blob/8b12dd70f6b1693a4f39a1cb53f8fc1b4ced33f1/test/live_view_counter_web/live/page_live_test.exs#L8-L9)
+> [`test/live_view_counter_web/live/page_live_test.exs#L8-L9`](https://github.com/dwyl/phoenix-liveview-counter-tutorial/blob/master/test/live_view_counter_web/controllers/page_controller_test.exs#L6)
+
Confirm the tests pass again by running:
@@ -956,7 +953,7 @@ We hope you enjoyed learning with us!
If you found this useful, please ⭐️and _share_ the GitHub repo
so we know you like it!
-