aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-12-08 22:03:46 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2012-12-08 22:03:46 -0800
commite58e8bda88b2919635f2158f384390636bc2c8b5 (patch)
tree66bae14d7fa5ab87fae9e7de21014f3d8c1c8b27 /railties/lib/rails
parentbb8923dee093b615615cdfb83b34d1b0bb254f25 (diff)
parent6e0eb9235a75fb8e0be5b34d4ecdddcb3fa37cb8 (diff)
downloadrails-e58e8bda88b2919635f2158f384390636bc2c8b5.tar.gz
rails-e58e8bda88b2919635f2158f384390636bc2c8b5.tar.bz2
rails-e58e8bda88b2919635f2158f384390636bc2c8b5.zip
Merge pull request #8466 from gclag/stats-handle-new-test-locations
Make rake task for code statistics handle new test locations properly
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/code_statistics.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/lib/rails/code_statistics.rb b/railties/lib/rails/code_statistics.rb
index 1aed2796c1..039360fcf6 100644
--- a/railties/lib/rails/code_statistics.rb
+++ b/railties/lib/rails/code_statistics.rb
@@ -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