[rspec-users] what has RSpec got against stack traces?

Phlip phlip2005 at gmail.com
Sat Mar 7 04:12:12 EST 2009

Tero Tilus wrote:

>> Line 192 contains neither a stray nil nor a method 'macro'.
> So what exactly _is_ there?  Do you know that particular line causes
> (or noes not cause) the error?  

Test::Unit::TestCase said the error was ~20 layers deeper - but exactly below 
the same to_xml() call as RSpec indicated. RSpec threw the stack trace away.

Please please please focus: Nobody is asking how to debug, or how to call 
to_xml() correctly. (The problem turned out to be :include => :authors instead 
of :include => :author, where the belongs_to used :author singular. Big deal!)

More information about the rspec-users mailing list