From 99693d644c59e3b7306ca59478c92196ea8b49af Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 7 May 2011 23:10:27 +0000 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 --- test/functional/repositories_git_controller_test.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index b8ae17530..ca444b683 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