1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Balasankar C <balasankarc@autistici.org>
Date: Thu, 13 Sep 2018 16:42:51 -0300
Subject: Disable simplecov
Disable simplecov while running tests
Last-Update: 2015-07-13
---
spec/spec_helper.rb | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index c49c7cc..c29bcaa 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,19 +1,3 @@
-require 'simplecov'
-
-module SimpleCov::Configuration
- def clean_filters
- @filters = []
- end
-end
-
-SimpleCov.configure do
- clean_filters
- load_profile 'test_frameworks'
-end
-
-ENV["COVERAGE"] && SimpleCov.start do
- add_filter "/.rvm/"
-end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
|