diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-21 11:44:18 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-21 13:46:49 +0300 |
commit | 7a0f4d3c905cc92880697deac365a6c596fd55a8 (patch) | |
tree | 7bdd5e0102d974f1920f4925180cc074d59dd504 /features | |
parent | 8e5e668e1a0844ebafbfc8081d9f71a030feb1d6 (diff) |
Introduce SimpleCovEnv singleton helper and use it
Diffstat (limited to 'features')
-rw-r--r-- | features/support/env.rb | 4 |
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' |