From 629f8b557faae1b36494c8b1b57b288203fd55de Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Thu, 20 Jul 2017 19:48:49 +0000 Subject: [PATCH] Fix coverage --- .simplecov | 8 +++++--- Gemfile | 2 +- spec/spec_helper.rb | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.simplecov b/.simplecov index 4c1a5f7..9eddcfc 100644 --- a/.simplecov +++ b/.simplecov @@ -1,8 +1,10 @@ require 'coveralls' -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter, -] +]) -SimpleCov.start { add_filter '/spec/' } +SimpleCov.start do + add_filter '/spec/' +end diff --git a/Gemfile b/Gemfile index 95c8052..f0c8329 100644 --- a/Gemfile +++ b/Gemfile @@ -5,4 +5,4 @@ source 'https://rubygems.org' # Specify your gem's dependencies in lita-tox.gemspec gemspec -gem 'coveralls', require: false +gem 'coveralls', group: :test, require: false diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d880825..e29cb94 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# This should be on the top of the file +# This should be on the top of the file. require 'simplecov' # rubocop:disable Style/BlockComments