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

Fix comment location.
This commit is contained in:
Markus Reiter 2017-10-08 15:57:47 +02:00 committed by GitHub
commit c56a968128

View File

@ -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