File: spec_helper.patch

package info (click to toggle)
ruby-descendants-tracker 0.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: ruby: 86; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (3)
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
Description: drop coverage and dependency on devtools from spec_helper
Forwarded: no
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-02-28

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,26 +1,5 @@
 # encoding: utf-8
 
-if ENV['COVERAGE'] == 'true'
-  require 'simplecov'
-  require 'coveralls'
-
-  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
-    SimpleCov::Formatter::HTMLFormatter,
-    Coveralls::SimpleCov::Formatter
-  ]
-
-  SimpleCov.start do
-    command_name 'spec:unit'
-
-    add_filter 'config'
-    add_filter 'spec'
-    add_filter 'vendor'
-
-    minimum_coverage 100
-  end
-end
-
-require 'devtools/spec_helper'
 require 'descendants_tracker'
 
 RSpec.configure do |config|