On Thu, Jun 4, 2009 at 8:41 PM, Charlie Bowman <charlesmbow...@gmail.com> wrote: > I have a helper method that does a "render :partial". The method works fine > within the app (Rails 2.3.2). In rspec (1.2.6) I get an error ("Missing > template /comments/_comment.erb in view path" > It seems that rspec when running helper tests doesn't set the view_path so > rails doens't know where to look for the templates. Is there a way to run > helper specs with the same setup as controller specs?
There is no support for rendering in helper specs as of yet. Please file a feature request if you think there should be. I have, personally, never rendered from a helper. Anybody else? > > Charlie > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users