diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-24 10:06:35 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-24 15:51:29 +0200 |
commit | 63039b9c3356f73421b3742134959014d81973b0 (patch) | |
tree | 0c3b08e15524c7a08317c8d47f83075eb84c5c15 /railties/test | |
parent | 51e8435e346c3f2f6356342b661231fcaeaa357a (diff) | |
download | rails-63039b9c3356f73421b3742134959014d81973b0.tar.gz rails-63039b9c3356f73421b3742134959014d81973b0.tar.bz2 rails-63039b9c3356f73421b3742134959014d81973b0.zip |
Fix typo and add sanity test for code statistics rake task.
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake_test.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 454c9511d8..8e527236ea 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -33,5 +33,10 @@ module ApplicationTests assert_match "SuperMiddleware", Dir.chdir(app_path){ `rake middleware` } end + + def test_code_statistics_sanity + assert_match "Code LOC: 5 Test LOC: 0 Code to Test Ratio: 1:0.0", + Dir.chdir(app_path){ `rake stats` } + end end -end
\ No newline at end of file +end |