1
0
Fork 0
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:
Jeremy Kemper 2012-12-08 22:03:46 -08:00
commit e58e8bda88

View file

@ -1,6 +1,12 @@
class CodeStatistics #:nodoc: 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) def initialize(*pairs)
@pairs = pairs @pairs = pairs