Module: RSpecMagic::Config

Defined in:
lib/rspec_magic/config.rb

Overview

The configuration.

Class Attribute Summary collapse

Class Attribute Details

.spec_pathString

The path of where the specs are. Most commonly, spec/ of the project’s directory.

Returns:

  • (String)


12
13
14
# File 'lib/rspec_magic/config.rb', line 12

def spec_path
  @spec_path || raise("`#{__method__}` must be configured")
end