Enforce code coverage minimums
This commit is contained in:
parent
2514709594
commit
e8f7b36b5c
|
@ -4,7 +4,9 @@ require 'simplecov'
|
|||
require 'coveralls'
|
||||
|
||||
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 'rails/test_help'
|
||||
|
|
Loading…
Reference in New Issue