diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-13 07:57:45 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-13 07:57:45 +0900 |
commit | c26452b2321b49300e5a5d880f1c14a398662365 (patch) | |
tree | 06640ff585267b7a99d1f54f31fab0f37c649f41 /railties/lib | |
parent | 92ba89dbcc3fd22296434103503a28dbf6b63789 (diff) | |
download | rails-c26452b2321b49300e5a5d880f1c14a398662365.tar.gz rails-c26452b2321b49300e5a5d880f1c14a398662365.tar.bz2 rails-c26452b2321b49300e5a5d880f1c14a398662365.zip |
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.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/code_statistics.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/code_statistics.rb b/railties/lib/rails/code_statistics.rb index 9c4bd16aad..70dce268f1 100644 --- a/railties/lib/rails/code_statistics.rb +++ b/railties/lib/rails/code_statistics.rb @@ -7,7 +7,8 @@ class CodeStatistics #:nodoc: "Model tests", "Mailer tests", "Job tests", - "Integration tests"] + "Integration tests", + "System tests"] HEADERS = { lines: " Lines", code_lines: " LOC", classes: "Classes", methods: "Methods" } |