Put back Rails specific config for SimpleCov (#389)

Without the `'rails'`, coverage drops to ~15% for the legacy tests, which probably means, it doesn't find all the tests.
This commit is contained in:
Helge Rausch
2017-06-06 12:01:11 +02:00
committed by Bastian Greshake
parent ef83c4b5c0
commit 2319919ccd

View File

@@ -2,7 +2,7 @@
ENV['RAILS_ENV'] = 'test'
unless ENV['CI']
require 'simplecov'
SimpleCov.start
SimpleCov.start('rails')
end
require File.expand_path('../../config/environment', __FILE__)
require "test/unit"