From d4d75401b3a29a6462005ea18ecc8307760db51a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 26 May 2011 01:10:43 +0000 Subject: [PATCH] scm: bazaar: fix functional annotate test. Test committer is "jsmith". If committer is not "jsmith", test passes. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5911 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../repositories_bazaar_controller_test.rb | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index b192b8bbb..910a534f2 100644 --- a/test/functional/repositories_bazaar_controller_test.rb +++ b/test/functional/repositories_bazaar_controller_test.rb @@ -132,10 +132,23 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase get :annotate, :id => PRJ_ID, :path => ['doc-mkdir.txt'] assert_response :success assert_template 'annotate' - # Line 2, revision 3 - assert_tag :tag => 'th', :content => /2/, - :sibling => { :tag => 'td', :child => { :tag => 'a', :content => /3/ } }, - :sibling => { :tag => 'td', :content => /jsmith/ }, + assert_tag :tag => 'th', :content => '2', + :sibling => { + :tag => 'td', + :child => { + :tag => 'a', + :content => /3/ + } + }, + :sibling => { :tag => 'td', :content => /jsmith/ } + assert_tag :tag => 'th', :content => '2', + :sibling => { + :tag => 'td', + :child => { + :tag => 'a', + :content => /3/ + } + }, :sibling => { :tag => 'td', :content => /Main purpose/ } end else -- 2.39.5