Subclass it in your spec with

class TestController < Admin::BaseController
   def index
   end
end

...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 all together.

Peace,
Phillip
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to