How to get rspec-2 to give the full trace associated with a test failure?
Another (easier) alternative is to edit the .rspec
file, and add the backtrace
option.It should look somewhat like this:
--colour--backtrace
That will give you the full backtrace.Hope this helps.
This will also work:
# rails_helper.rbRSpec.configure do |config| config.full_backtrace = trueend