From d4d75401b3a29a6462005ea18ecc8307760db51a 2011-05-26 01:10:43 From: Toshi MARUYAMA Date: 2011-05-26 01:10:43 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 --- diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index b192b8b..910a534 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