Update spec helper to match other ROM-style gems
This commit is contained in:
parent
067de67448
commit
911e8756ee
1 changed files with 9 additions and 7 deletions
|
@ -1,8 +1,5 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'equalizer'
|
||||
require 'devtools/spec_helper'
|
||||
|
||||
if ENV['COVERAGE'] == 'true'
|
||||
require 'simplecov'
|
||||
require 'coveralls'
|
||||
|
@ -14,13 +11,18 @@ if ENV['COVERAGE'] == 'true'
|
|||
|
||||
SimpleCov.start do
|
||||
command_name 'spec:unit'
|
||||
|
||||
add_filter 'config'
|
||||
add_filter 'spec'
|
||||
add_filter 'vendor'
|
||||
add_filter 'test_app'
|
||||
|
||||
minimum_coverage 90.1 # TODO: raise this to 100, then mutation test
|
||||
end
|
||||
end
|
||||
|
||||
require 'equalizer'
|
||||
require 'devtools/spec_helper'
|
||||
require 'mutant'
|
||||
|
||||
$LOAD_PATH << File.join(TestApp.root, 'lib')
|
||||
|
|
Loading…
Reference in a new issue