Using RSpec-rails2 to test Rails3 ApplicationController functionality

August 6, 2010 Mike Gehard

The other day I was looking to test some rescue_from functionality in a subclass of ApplicationController and found an easy way to set this up, the controller() method.

Note: Testing of ApplicationController subclasses is a new addition and not available in a released beta of rspec-rails2 as of the writing of this post.

About the Author

Biography

More Content by Mike Gehard
Previous
IndexTank: Full-text Search as a Service
IndexTank: Full-text Search as a Service

Diego Basch and Santiago Perez Gonzales of Flaptor demonstrate their new product IndexTank, a hosted, scala...

Next
Version 1.20: Photo tweets and other bug fixes
Version 1.20: Photo tweets and other bug fixes

Version 1.20 is available in the App Catalog. photo tweets (only TwitPic and Posterous) video upload swit...