On Jun 28, 2010, at 12:22 AM, Alex Crichton wrote: > I've got some helper methods in my ApplicationController which the > views use. In the view specs the methods are all undefined, however. > Is this intended and is there some setting I need to use to get the > methods included?
View specs don't know anything about your controllers, so if you're defining helpers in controllers you have to stub them in view specs. Why not put them a helper instead? _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users