Skip to content
Snippets Groups Projects
Commit c56a9681 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #3288 from reitermarkus/fix-rubocop-tests

Fix comment location.
parents b5681792 69e2be83
No related branches found
No related tags found
No related merge requests found
......@@ -28,13 +28,13 @@ SimpleCov.start do
end
else
command_name "#{command_name} (#{$PROCESS_ID})"
# Not using this during integration tests makes the tests 4x times faster
# without changing the coverage.
subdirs = Dir.chdir(SimpleCov.root) { Dir.glob("*") }
.reject { |d| d.end_with?(".rb") || ["test", "vendor"].include?(d) }
.map { |d| "#{d}/**/*.rb" }.join(",")
# Not using this during integration tests makes the tests 4x times faster
# without changing the coverage.
track_files "#{SimpleCov.root}/{#{subdirs},*.rb}"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment