mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-17 17:38:07 +00:00
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:
committed by
Bastian Greshake
parent
ef83c4b5c0
commit
2319919ccd
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user