spec/helper.rb in delayed_job-4.1.8 vs spec/helper.rb in delayed_job-4.1.9

- old
+ new

@@ -1,14 +1,20 @@ require 'simplecov' -require 'coveralls' +require 'simplecov-lcov' -SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter] +SimpleCov::Formatter::LcovFormatter.config do |c| + c.report_with_single_file = true + c.single_report_path = 'coverage/lcov.info' +end +SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new( + [ + SimpleCov::Formatter::HTMLFormatter, + SimpleCov::Formatter::LcovFormatter + ] +) SimpleCov.start do add_filter '/spec/' - # Each version of ruby and version of rails test different things - # This should probably just be removed. - minimum_coverage(85.0) end require 'logger' require 'rspec'