run simplecov only when needed
This commit is contained in:
parent
d578a8d9af
commit
daee3c5975
|
@ -1,7 +1,9 @@
|
|||
require 'simplecov'
|
||||
SimpleCov.start do
|
||||
add_filter '_spec.rb'
|
||||
add_filter 'spec_helper.rb'
|
||||
if ENV['SIMPLECOV']
|
||||
require 'simplecov'
|
||||
SimpleCov.start do
|
||||
add_filter '_spec.rb'
|
||||
add_filter 'spec_helper.rb'
|
||||
end
|
||||
end
|
||||
|
||||
require 'rack'
|
||||
|
|
Loading…
Reference in New Issue