1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make code statistics task handle system tests properly

If it is not added to `TEST_TYPES`, it is not regarded as a test
when counting the total count.
This commit is contained in:
yuuji.yaginuma 2017-04-13 07:57:45 +09:00
parent 92ba89dbcc
commit c26452b232

View file

@ -7,7 +7,8 @@ class CodeStatistics #:nodoc:
"Model tests", "Model tests",
"Mailer tests", "Mailer tests",
"Job tests", "Job tests",
"Integration tests"] "Integration tests",
"System tests"]
HEADERS = { lines: " Lines", code_lines: " LOC", classes: "Classes", methods: "Methods" } HEADERS = { lines: " Lines", code_lines: " LOC", classes: "Classes", methods: "Methods" }