summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 10:44:18 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 12:46:49 +0200
commit7a0f4d3c905cc92880697deac365a6c596fd55a8 (patch)
tree7bdd5e0102d974f1920f4925180cc074d59dd504 /features
parent8e5e668e1a0844ebafbfc8081d9f71a030feb1d6 (diff)
downloadgitlab-ce-7a0f4d3c905cc92880697deac365a6c596fd55a8.tar.gz
Introduce SimpleCovEnv singleton helper and use it
Diffstat (limited to 'features')
-rw-r--r--features/support/env.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 2a3e21d28bc..569fd444e86 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,5 +1,5 @@
-require_relative '../../spec/simplecov_env'
-SimpleCov.start if ENV['SIMPLECOV']
+require './spec/simplecov_env'
+SimpleCovEnv.start!
ENV['RAILS_ENV'] = 'test'
require './config/environment'