Extract simplecov config

This commit is contained in:
Artur Beljajev 2019-03-09 17:57:18 +02:00
parent 498975af97
commit 25a290b751
3 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,6 @@
if ENV['COVERAGE']
require 'simplecov'
SimpleCov.command_name 'test'
SimpleCov.start 'rails'
end
ENV['RAILS_ENV'] ||= 'test'