diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-10-09 17:41:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-10-09 17:41:00 -0700 |
commit | 1c534c6e429b6d5115153a8e83ae13e55d0ee1d3 (patch) | |
tree | 632bf64b5a6974c2e47d5300ff8d15a143133af5 /railties/lib/rails/tasks | |
parent | 0787cea3bb5e6f2c216e71090732bc55ee03c7dc (diff) | |
parent | 2a68f68aead9fd65ecac8062ca8efc15f5bab418 (diff) | |
download | rails-1c534c6e429b6d5115153a8e83ae13e55d0ee1d3.tar.gz rails-1c534c6e429b6d5115153a8e83ae13e55d0ee1d3.tar.bz2 rails-1c534c6e429b6d5115153a8e83ae13e55d0ee1d3.zip |
Merge pull request #7878 from blowmage/test_locations
Update test names and locations
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r-- | railties/lib/rails/tasks/statistics.rake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/statistics.rake b/railties/lib/rails/tasks/statistics.rake index 67a6d2d2ac..c1674c72ad 100644 --- a/railties/lib/rails/tasks/statistics.rake +++ b/railties/lib/rails/tasks/statistics.rake @@ -6,9 +6,13 @@ STATS_DIRECTORIES = [ %w(Javascripts app/assets/javascripts), %w(Libraries lib/), %w(APIs app/apis), + %w(Controller\ tests test/controllers), + %w(Helper\ tests test/helpers), + %w(Model\ tests test/models), + %w(Mailer\ tests test/mailers), %w(Integration\ tests test/integration), - %w(Functional\ tests test/functional), - %w(Unit\ tests test/unit) + %w(Functional\ tests\ (old) test/functional), + %w(Unit\ tests \ (old) test/unit) ].collect { |name, dir| [ name, "#{Rails.root}/#{dir}" ] }.select { |name, dir| File.directory?(dir) } desc "Report code statistics (KLOCs, etc) from the application" |