Method: RSpec::Core::Configuration#default_path

Defined in:
lib/rspec/core/configuration.rb

#default_pathString

Note:

Other scripts invoking rspec indirectly will ignore this setting.

Path to use if no path is provided to the rspec command (default: "spec"). Allows you to just type rspec instead of rspec spec to run all the examples in the spec directory.

Returns:

  • (String)


120
# File 'lib/rspec/core/configuration.rb', line 120

add_read_only_setting :default_path