Ensure Functionality with RSpec Controller Testing

Part of Screencast Series: RSpec

Published December 2015

You know about model testing, now learn about controller testing

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


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

Meet your instructor
Ilya Bodrov-Krukowski

Ilya is a lecturer at MATI-RSTU, senior engineer at Campaigner LLC and seasoned author at SitePoint. When Ilya is not working away on new projects or contributing to open source projects, he's expanding and refining his skills in HTML, CSS, jQuery, Angular, Backbone and Rails. You can read all about his work and development discoveries on his blog Radiant Wind.