[rspec-users] Unable to get rid of backtrace when running specs (rspec2, rails3)
David Chelimsky
dchelimsky at gmail.com
Fri Oct 8 00:00:01 EDT 2010
On Oct 6, 2010, at 2:33 AM, Katrina Owen wrote:
> On Wed, Oct 6, 2010 at 1:44 AM, David Chelimsky <dchelimsky at gmail.com> wrote:
>>
>> On Oct 5, 2010, at 6:19 PM, Katrina Owen wrote:
>>> I can't seem to silence the stack trace when running specs.
>>
>> This needs some docs, but there is a configuration option called backtrace_clean_patterns that you can append to:
>>
>> RSpec::configure do |c|
>> backtrace_clean_patterns << /gems\//
>> end
>>
>> Maybe we should make that part of the default list?
>>
>
> Thank you, David -- this worked beautifully.
>
> It would be great to have that available in the default list.
http://github.com/rspec/rspec-core/commit/fc591be26485ffafacec51e6b47208604324809c
http://github.com/rspec/rspec-rails/commit/73051af796b143b9989287530fd5fdd52cbe9bfe
Cheers,
David
More information about the rspec-users
mailing list