mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #8466 from gclag/stats-handle-new-test-locations
Make rake task for code statistics handle new test locations properly
This commit is contained in:
commit
e58e8bda88
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
|||
class CodeStatistics #:nodoc:
|
||||
|
||||
TEST_TYPES = %w(Units Functionals Unit\ tests Functional\ tests Integration\ tests)
|
||||
TEST_TYPES = ['Controller tests',
|
||||
'Helper tests',
|
||||
'Model tests',
|
||||
'Mailer tests',
|
||||
'Integration tests',
|
||||
'Functional tests (old)',
|
||||
'Unit tests (old)']
|
||||
|
||||
def initialize(*pairs)
|
||||
@pairs = pairs
|
||||
|
|
Loading…
Reference in a new issue