Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 11:44:18 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 13:46:49 +0300
commit7a0f4d3c905cc92880697deac365a6c596fd55a8 (patch)
tree7bdd5e0102d974f1920f4925180cc074d59dd504 /features/support
parent8e5e668e1a0844ebafbfc8081d9f71a030feb1d6 (diff)
Introduce SimpleCovEnv singleton helper and use it
Diffstat (limited to 'features/support')
-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'