Displaying 2 results from an estimated 2 matches for "quietbacktracetweaker".
2008 Jan 19
6
Quiet Backtrace in RSpec
I''m using RSpec on Rails and would like to clean up the backtraces, so I
went looking for an RSpec equivalent to ThoughtBot''s Quiet Backtrace
gem<http://thoughtbot.com/projects/quietbacktrace>.
I found Spec::Runner::QuietBacktraceTweaker in the RDOCS, but I can''t figure
out how to use it. Can I add something to spec_helper.rb that will
utilize Spec::Runner::QuietBacktraceTweaker to quiet the backtraces?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-user...
2007 Aug 13
2
Backtrace tweaker - broken or me?
...I''ve been scrolling through pages of
backtraces when rspec is supposed to clean them up for me. This is a
new development machine, so I''m not sure if older versions worked or
not. I''m running Ruby 1.8.6, Rails edge, Mac OS X 10.4.10.
I''ve verified that the QuietBacktraceTweaker is the one that''s running.
However, error.backtrace seems to have only one big element in it
(with multiple lines separated by \n), that whole line gets ignored
because it matches, and then the whole backtrace gets printed out anyway
somehow. I''m heading home and don'...