Skip to content

Commit

Permalink
Properly count the code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jun 22, 2017
1 parent bad2408 commit 81e73be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/spec_helper.rb
Expand Up @@ -16,6 +16,10 @@
]
end

src_location = File.expand_path("../../src", __FILE__)
# track all ruby files under src
SimpleCov.track_files("#{src_location}/**/*.rb")

SimpleCov.start do
add_filter "/test/"
end
Expand Down

0 comments on commit 81e73be

Please sign in to comment.