From 99693d644c59e3b7306ca59478c92196ea8b49af 2011-05-07 23:10:27 From: Toshi MARUYAMA Date: 2011-05-07 23:10:27 Subject: [PATCH] scm: git: 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@5694 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index b8ae175..ca444b6 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -201,7 +201,15 @@ class RepositoriesGitControllerTest < ActionController::TestCase :content => /2f9c0091c754a91af7a9c478e36556b4bde8dcf7/ } }, - :sibling => { :tag => 'td', :content => /jsmith/ }, + :sibling => { :tag => 'td', :content => /jsmith/ } + assert_tag :tag => 'th', :content => '24', + :sibling => { + :tag => 'td', + :child => { + :tag => 'a', + :content => /2f9c0091c754a91af7a9c478e36556b4bde8dcf7/ + } + }, :sibling => { :tag => 'td', :content => /watcher =/ } end