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
gemhttp://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?

On Jan 19, 2008 4:16 AM, Jed H. [email protected] wrote:

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. 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?

It’s on by default, and you can turn it off with -b on the command line

Thanks for telling me about the Quiet Backtrace gem, I’ve added a
ticket for that:
http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/243-add-support-for-quietbacktrace-gem

Aslak

Ahh, I see. Is Spec::runner::QuietBacktraceTweaker configurable for more
quietness?

On Sat, Jan 19, 2008 at 1:39 AM, aslak hellesoy
[email protected]

On Thu, Feb 21, 2008 at 12:52 AM, Jed H. [email protected] wrote:

Ahh, I see. Is Spec::runner::QuietBacktraceTweaker configurable for more
quietness?

Nope.

On Thu, Feb 21, 2008 at 6:21 AM, David C. [email protected]
wrote:

On Thu, Feb 21, 2008 at 12:52 AM, Jed H. [email protected] wrote:

Ahh, I see. Is Spec::runner::QuietBacktraceTweaker configurable for more
quietness?

Nope.

Haha. Is that a terse form of PDI?

Ahh, I see. Cool, cool :slight_smile:

On Fri, Feb 29, 2008 at 2:52 PM, David C. [email protected]

On Fri, Feb 29, 2008 at 1:08 PM, Jed H. [email protected] wrote:

Nope.

Haha. Is that a terse form of PDI?

Not intentional. I think I was responding on my phone, which makes
everything more terse.

Cheers,
David