Permalink
Browse files

Merge pull request #17521 from arunagw/aa-jobs-test-in-stats

Add test/jobs files in `rake stats`
  • Loading branch information...
guilleiguaran committed Nov 5, 2014
2 parents e81c6ef + 9511801 commit 8d902a949b2ca6695766263756bdd274cf4988d8
Showing with 3 additions and 1 deletion.
  1. +1 −0 railties/lib/rails/code_statistics.rb
  2. +2 −1 railties/lib/rails/tasks/statistics.rake
@@ -6,6 +6,7 @@ class CodeStatistics #:nodoc:
'Helper tests',
'Model tests',
'Mailer tests',
'Job tests',
'Integration tests',
'Functional tests (old)',
'Unit tests (old)']
@@ -14,10 +14,11 @@ STATS_DIRECTORIES = [
%w(Helper\ tests test/helpers),
%w(Model\ tests test/models),
%w(Mailer\ tests test/mailers),
%w(Job\ tests test/jobs),
%w(Integration\ tests test/integration),
%w(Functional\ tests\ (old) test/functional),
%w(Unit\ tests \ (old) test/unit)
].collect do |name, dir|
].collect do |name, dir|
[ name, "#{File.dirname(Rake.application.rakefile_location)}/#{dir}" ]
end.select { |name, dir| File.directory?(dir) }

0 comments on commit 8d902a9

Please sign in to comment.