Flowdock
method

ignore_backtrace_patterns

Importance_1
1.3.0 - Show latest stable - 0 notes - Class: Spec::Runner::Configuration
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.

Show source
Register or log in to add new notes.