Merge pull request #35005 from bogdanvlviv/add-chanel-tests-to-rails-stats

Add Channel tests to `rails stats`
This commit is contained in:
Ryuta Kamizono 2019-01-21 20:36:29 +09:00 committed by GitHub
commit feb97dfabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ STATS_DIRECTORIES = [
%w(Model\ tests test/models),
%w(Mailer\ tests test/mailers),
%w(Mailbox\ tests test/mailboxes),
%w(Channel\ tests test/channels),
%w(Job\ tests test/jobs),
%w(Integration\ tests test/integration),
%w(System\ tests test/system),

View File

@ -118,7 +118,7 @@ module ApplicationTests
end
def test_code_statistics_sanity
assert_match "Code LOC: 29 Test LOC: 0 Code to Test Ratio: 1:0.0",
assert_match "Code LOC: 32 Test LOC: 0 Code to Test Ratio: 1:0.0",
rails("stats")
end