diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-01 10:10:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-01 10:10:59 +0100 |
commit | f370e9a0affa6663bb4d607a42d2e22f9c474e0a (patch) | |
tree | 8f0e0a58578de3da3ce978b520486669571d5334 /spec/spec_helper.rb | |
parent | d5b3f884e0fc232dd36a466a32bbe09659e67fe0 (diff) | |
download | zorglub-f370e9a0affa6663bb4d607a42d2e22f9c474e0a.zip zorglub-f370e9a0affa6663bb4d607a42d2e22f9c474e0a.tar.gz |
spec : reenable coverage report generation
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0e811f2..bb42058 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,11 +1,6 @@ #! /usr/bin/env ruby begin - require 'coveralls' - Coveralls.wear! -rescue LoadError -end -begin require 'simplecov' SimpleCov.start do add_filter 'spec' @@ -13,6 +8,15 @@ begin rescue LoadError end +begin + require 'coveralls' + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] +rescue LoadError +end + require 'yaml' require 'zorglub' |