From 2f71d4063f17e25310939f81246ada0accff0342 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Tue, 29 May 2012 08:49:53 -0700 Subject: Remove irrelevant assertion --- railties/test/application/rake/notes_test.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'railties/test') diff --git a/railties/test/application/rake/notes_test.rb b/railties/test/application/rake/notes_test.rb index df65d6126c..dd401009f7 100644 --- a/railties/test/application/rake/notes_test.rb +++ b/railties/test/application/rake/notes_test.rb @@ -29,19 +29,12 @@ module ApplicationTests Dir.chdir(app_path) do output = `bundle exec rake notes` - lines = output.scan(/\[([0-9\s]+)\]/).flatten assert_match /note in erb/, output assert_match /note in haml/, output assert_match /note in slim/, output assert_match /note in ruby/, output assert_match /note in coffee/, output - - assert_equal 5, lines.size - - lines.each do |line_number| - assert_equal 4, line_number.size - end end end -- cgit v1.2.3