diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c8ab3d6e..67a263c2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,11 @@ if ENV['COVERAGE'] == 'yes' require 'coveralls' - Coveralls.wear! + require 'simplecov' + + SimpleCov.formatter = Coveralls::SimpleCov::Formatter + SimpleCov.start do + add_filter %r{^/spec/} + end end require 'rspec'