Ensure Functionality with RSpec Controller Testing

You know about model testing, now learn about controller testing

About the screencast

Controller testing, in contrast to model testing, may seem complex at first, however understanding the basic workflow you will get the grip of it really fast. In this video you will learn how to write controller specs and isolate them from other parts of your application with the help of mocks and stubs.

You can get the code samples from GitHub: https://github.com/learnable-content/RSpec-collection/tree/controller_testing

  • Published Date December 2015


Have your say! or become a member now to take part in the discussion