Sha256: 8d5f3122250eb9f6cf0b022c881b62154f74c7bcb40d94b097795b835ae252b0

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

if Rails.env.test? && Object.const_defined?('MetricFu')
  require 'metric_fu'

  MetricFu::Configuration.run do |config|
    config.metrics  = [:churn, :saikuro, :stats, :flog, :flay]
    config.graphs   = [:flog, :flay, :stats]
    config.rcov[:test_files] = ['spec/**/*_spec.rb']
    config.rcov[:rcov_opts] << '-Ispec' # Needed to find spec_helper
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
site_logic-1.9.6 config/initializers/metric_fu.rb