Testing Views, Routes, and Helpers for Problems in Your Rails App

Part of Screencast Series: RSpec

Published January 2016

As your apps grows, so will your need for more testing.

Views, routes and helpers are rarely tested in everyday applications. However when your apps grows bigger, having separate specs for them can be a good idea. Therefore, understanding the basics behind testing those components is really a requirement for any professional Rails developer. When you need to test these components, this knowledge will be invaluable!

Free Setting Up Automated Testing with RSpec 18:48
Free Managing Sample Data with Fixtures and Factories 18:29
Free Testing Your Rails App Models with RSpec 17:06
Testing Views, Routes, and Helpers for Problems in Your Rails App 12:54
Free Ensure Functionality with RSpec Controller Testing 13:49
Free Feature Tests with RSpec: Simulate User Behavior and Test Your Ruby App 17:01


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.