From 3291d7a1611bf4fd2dc714414439de0f9566ef3a Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Mon, 27 Aug 2018 20:11:47 +0200 Subject: [PATCH] Improve SimpleCov config --- spec/spec_helper.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bdeb90b..cddcd64 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,11 +1,9 @@ require 'simplecov' -# Configure SimpleCov -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ - SimpleCov::Formatter::HTMLFormatter, -]) - -SimpleCov.start +# Start SimpleCov +SimpleCov.start do + add_filter 'spec/' +end # SimpleNavigation currently only works for Rails, Sinatra and Padrino apps # This is a workaround to be able to test the lib