From e8d07bc88935ddb72fa8d14ba7e7808100a28a10 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Tue, 13 Sep 2016 00:17:27 +0200 Subject: [PATCH] Fix deprecation warning --- spec/spec_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9ebfc07..1c20d30 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,11 +5,11 @@ require 'pullreview/coverage_reporter' ## Configure SimpleCov -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter, PullReview::Coverage::Formatter -] +]) ## Start Simplecov SimpleCov.start do