Skip to content

6 Tests

Aashir Sohail edited this page Aug 1, 2020 · 1 revision

Added on lines #62, #86, #90, #137, #141, #146, #150, #156, and #196 of ControllerSpec.js.

The tests included:

  • should show entries on start-up
  • should show active entries
  • should show completed entries
  • should highlight "All" filter by default
  • should highlight "Active" filter when switching to active view
  • should toggle all todos to completed
  • should update the view*
  • should add a new todo to the model
  • should remove an entry from the model
Clone this wiki locally