kwhinnery / todomvc-plusplus

TodoMVC++ Sample Application
MIT License
93 stars 148 forks source link

Write an integration test which validates the controller and the model working together #6

Closed kwhinnery closed 8 years ago

kwhinnery commented 8 years ago

Let's improve our back-end test coverage a little bit and add some integration tests that cover both our model and controller logic. Write a test for the todos controller that exercises one of the CRUD operations. You'll have to mock the Express request/response objects somehow.