mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add test/jobs files in rake stats
This commit is contained in:
parent
e81c6efc0e
commit
9511801a6d
2 changed files with 3 additions and 1 deletions
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue