Skip to content

Commit

Permalink
Fix a typo in the docs for testing controllers (phoenixframework#3858)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhari authored May 21, 2020
1 parent dadc860 commit 7d97ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/testing/testing_controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule HelloWeb.PostControllerTest do
...
```

Similar to the `PageControllerTest` that shops with our application, this controller tests uses `use HelloWeb.ConnCase` to setup the testing structure. Then, as usual, it defines some aliases, some module attributes to use throughout testing, and then it starts a series of `describe` blocks, each of them to test a different controller action.
Similar to the `PageControllerTest` that ships with our application, this controller tests uses `use HelloWeb.ConnCase` to setup the testing structure. Then, as usual, it defines some aliases, some module attributes to use throughout testing, and then it starts a series of `describe` blocks, each of them to test a different controller action.

### The index action

Expand Down

0 comments on commit 7d97ce6

Please sign in to comment.