method

ignore_backtrace_patterns

ignore_backtrace_patterns(*patterns)
public

Adds patterns to the list of patterns ignored in the backtrace when a failure is output by rspec. Example:

  config.ignore_backtrace_patterns /spork/, /shoulda/, "/some/weird/path/"

When quiet backtraces are turned on (default), this will exclude any lines that match any of the Regexps and Strings passed.