mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Generate code coverage report when running tests
This commit is contained in:
parent
3ae418b360
commit
3759e8179b
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
if ENV['COVERAGE']
|
||||
require 'simplecov'
|
||||
SimpleCov.start
|
||||
end
|
||||
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rails/test_help'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue