From: Toshi MARUYAMA Date: Thu, 26 May 2011 01:10:43 +0000 (+0000) Subject: scm: bazaar: fix functional annotate test. X-Git-Tag: 1.3.0~1938 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4d75401b3a29a6462005ea18ecc8307760db51a;p=redmine.git 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 --- 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