Engineering Elixir Apps B6.0: ch. 4 p. 112 of PDF

Where the reader is supposed to comment out 2 lines of an existing test, and add assert false to make it fail: The filename is incorrect in two places.

  • The prose has it as “test/kanban/controller/page_controller_test.ex”
  • The comment at the top of the code sample has it as “test/kanban_web/page_controller_test.ex”
  • The correct path is actually “test/kanban_web/controllers/page_controller_test.ex” (“kanban_web” and “controllers” plural)

Also check subsequent pages; on p. 114 of PDF there is also, in the code sample, the comment:
# in test/kanban_web/page_controller_test.ex

Thank you for spotting these! We’ll update them in the next release :slight_smile: