diff options
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' |