From 9b0ee587aff4ad67e809ce9cef2831514866776d Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sun, 24 Apr 2016 14:45:55 +0530 Subject: [PATCH] Fix broken build, channel files are also included in `bin/rails stats` now - Followup of https://github.com/rails/rails/pull/24709. --- railties/test/application/rake_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 1a786a3fd3..69f3b19336 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -118,8 +118,8 @@ def test_should_not_eager_load_model_for_rake end def test_code_statistics_sanity - assert_match "Code LOC: 18 Test LOC: 0 Code to Test Ratio: 1:0.0", - Dir.chdir(app_path){ `bin/rails stats` } + assert_match "Code LOC: 26 Test LOC: 0 Code to Test Ratio: 1:0.0", + Dir.chdir(app_path) { `bin/rails stats` } end def test_rails_routes_calls_the_route_inspector -- GitLab