method
ignore_backtrace_patterns
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Configuration
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
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.