Enforce code coverage minimums

This commit is contained in:
Erik Michaels-Ober 2015-04-20 14:23:17 +02:00
parent 2514709594
commit e8f7b36b5c
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ require 'simplecov'
require 'coveralls' require 'coveralls'
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter] SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start('rails') SimpleCov.start('rails') do
minimum_coverage(97.19)
end
require File.expand_path('../../config/environment', __FILE__) require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help' require 'rails/test_help'