Module: SimpleCov::Formatter::Terminal::SpecToAppMapping

Included in:
Config
Defined in:
lib/simple_cov/formatter/terminal/spec_to_app_mapping.rb

Class Method Summary collapse

Class Method Details

.default_spec_to_app_mapObject



38
39
40
41
42
43
44
45
# File 'lib/simple_cov/formatter/terminal/spec_to_app_mapping.rb', line 38

def default_spec_to_app_map
  # dup the maps because the maps are frozen but we want to allow the user to customize them
  if SimpleCov::Formatter::Terminal::RailsAwareness.rails?
    SPEC_TO_RAILS_DEFAULT_MAP.dup
  else
    SPEC_TO_GEM_DEFAULT_MAP.dup
  end
end