From d15d9e30066a7d3595e771fa1acef6bcbb9aa8d6 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 6 Dec 2016 08:01:55 +0100 Subject: [PATCH] Improved syntax. --- test/test_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 8bdbb3dcc..400b7fdb7 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -16,10 +16,10 @@ class ActiveSupport::TestCase # # Note: You'll currently still have to declare fixtures explicitly in integration tests # -- they do not yet inherit this setting - SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::RcovFormatter, - Coveralls::SimpleCov::Formatter - ] + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ + SimpleCov::Formatter::RcovFormatter, + Coveralls::SimpleCov::Formatter + ]) merge_timeout = 3600 SimpleCov.start fixtures :all