Method: RSpec::Core::Configuration#project_source_dirs
- Defined in:
- lib/rspec/core/configuration.rb
#project_source_dirs ⇒ Array<String>
Specifies which directories contain the source code for your project. When a failure occurs, RSpec looks through the backtrace to find a a line of source to print. It first looks for a line coming from one of the project source directories so that, for example, it prints the expectation or assertion call rather than the source code from the expectation or assertion framework.
316 |
# File 'lib/rspec/core/configuration.rb', line 316 add_setting :project_source_dirs |