summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-30 19:04:00 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 12:44:24 +0200
commit070a96f54faac289d9254f0e8735f3926418335c (patch)
tree4ee7b4b0d3192ee63081c7b54bed19748683d647 /features
parent8cc7a2dd6f201019d6848aade74d938db356cc39 (diff)
downloadgitlab-ce-070a96f54faac289d9254f0e8735f3926418335c.tar.gz
Update configuration of SimpleCov
Diffstat (limited to 'features')
-rw-r--r--features/support/env.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 1c39367ad42..16ce1b6ca77 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,4 +1,5 @@
require_relative Rails.root.join('spec', 'simplecov_env')
+SimpleCov.start if ENV['SIMPLECOV']
ENV['RAILS_ENV'] = 'test'
require './config/environment'