Skip to content

Commit

Permalink
Filter out spec files from the coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
njh committed Mar 19, 2020
1 parent bd163ed commit d1a9ad7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
Bundler.require(:default, :development)

unless RUBY_VERSION =~ /^1\.8/
SimpleCov.start
SimpleCov.start do
add_filter '/spec/'
end
end


Expand Down

0 comments on commit d1a9ad7

Please sign in to comment.