[rspec-users] get to a different controller
phillipkoebbe at gmail.com
Tue Jan 5 15:53:50 EST 2010
> Subclass it in your spec with
> class TestController < Admin::BaseController
> def index
> ...then use the TestController in your tests for Admin::BaseController.
> That might mean you'll need to add special routing for TestController
> which is annoying but can be done.
Thanks, Matt. Between your post and David's, I'll see if I can put it
More information about the rspec-users