[rspec-users] View spec failures without stack traces?!?

David Chelimsky dchelimsky at gmail.com
Fri Jun 13 11:04:40 EDT 2008


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


More information about the rspec-users mailing list