[rspec-users] Testing misc methods in ApplicationController

Mark Wilden mark at mwilden.com
Fri Feb 13 19:49:55 EST 2009

On Fri, Feb 13, 2009 at 4:26 PM, Fernando Perez <lists at ruby-forum.com> wrote:
> How do you spec protected controller methods such as before_filters and
> helpers that with the params and session hashes?

You spec the public interface that calls (or causes to be called) the
protected methods.


More information about the rspec-users mailing list