diff options
author | George Claghorn <george.claghorn@gmail.com> | 2012-12-09 00:04:36 -0500 |
---|---|---|
committer | George Claghorn <george.claghorn@gmail.com> | 2012-12-09 00:04:36 -0500 |
commit | 6e0eb9235a75fb8e0be5b34d4ecdddcb3fa37cb8 (patch) | |
tree | 66bae14d7fa5ab87fae9e7de21014f3d8c1c8b27 /railties/lib/rails/backtrace_cleaner.rb | |
parent | bb8923dee093b615615cdfb83b34d1b0bb254f25 (diff) | |
download | rails-6e0eb9235a75fb8e0be5b34d4ecdddcb3fa37cb8.tar.gz rails-6e0eb9235a75fb8e0be5b34d4ecdddcb3fa37cb8.tar.bz2 rails-6e0eb9235a75fb8e0be5b34d4ecdddcb3fa37cb8.zip |
Make code statistics rake task handle new test locations properly
As of 2a68f68aead9fd65ecac8062ca8efc15f5bab418:
- Unit tests are now in test/models, instead of test/units
- Functional tests are now in test/controllers, instead of
test/functional
- Helper tests are now in test/helpers, instead of test/units/helpers
- Mailer tests are now in test/mailers, instead of test/functional
Update the rake task for code statistics (`rake stats`) so that it
recognizes files in the above locations as tests, and accurately
calculates statistics such as "Test LOC" and "Code to Test Ratio."
Safely handle Rails apps that still have tests in the old locations.
Diffstat (limited to 'railties/lib/rails/backtrace_cleaner.rb')
0 files changed, 0 insertions, 0 deletions