Exclude on_what helper from test coverage

This commit is contained in:
Marc Siegel 2015-07-22 14:26:31 -04:00
parent eacca72326
commit beca093d7a
1 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ unless on_1_8?
begin
require 'simplecov'
SimpleCov.start do
add_filter '/spec/' # exclude test code
add_filter '/vendor/' # exclude gems which are vendored on Travis CI
add_filter '/spec/' # exclude test code
add_filter '/vendor/' # exclude gems which are vendored on Travis CI
add_filter '/on_what.rb' # exclude help used only in gemspec
end
# On CI we publish simplecov results to codecov.io