Skip to content

Commit

Permalink
Improve SimpleCov config
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 27, 2018
1 parent ff7cd3e commit 3291d7a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3291d7a

Please sign in to comment.