Hi. I''m getting TemplateErrors from a couple of my view specs with an accompanying message, e.g.: 3) ActionView::TemplateError in ''playlists/show.rss.builder should render playlist RSS feed'' You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.size But no stack trace. Shouldn''t I get a stack trace? Regards, Matt. -- Matt Mower :: http://matt.blogs.it/
David Chelimsky
2008-Jun-13 15:04 UTC
[rspec-users] View spec failures without stack traces?!?
Please post the code and examples. On Jun 13, 2008, at 9:36 AM, "Matt Mower" <self at mattmower.com> wrote:> Hi. > > I''m getting TemplateErrors from a couple of my view specs with an > accompanying message, e.g.: > > 3) > ActionView::TemplateError in ''playlists/show.rss.builder should render > playlist RSS feed'' > You have a nil object when you didn''t expect it! > You might have expected an instance of Array. > The error occurred while evaluating nil.size > > But no stack trace. Shouldn''t I get a stack trace? > > Regards, > > Matt. > > -- > Matt Mower :: http://matt.blogs.it/ > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users