Sha256: 73edaf95375fc5a678f641df018b15a42a188146f588716570874646e31d1a7a

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require 'simplecov'

# Save to CircleCI's artifacts directory if we're on CircleCI
if ENV['CIRCLE_ARTIFACTS']
  dir = File.join(ENV['CIRCLE_ARTIFACTS'], "coverage")
  SimpleCov.coverage_dir(dir)
end

# Evil options :D
SimpleCov.minimum_coverage 99
SimpleCov.minimum_coverage_by_file 90
SimpleCov.refuse_coverage_drop

SimpleCov.start 'rails' do
  add_filter 'config/application'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bretelline-0.2.0 lib/bretelline/templates/spec/support/simplecov.rb