From: Toshi MARUYAMA Date: Wed, 1 Jun 2011 06:09:37 +0000 (+0000) Subject: scm: git: fix functional test_annotate test. X-Git-Tag: 1.3.0~1889 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b03935fadeff7ecf7f5b6b08b42b13f96c59ff6a;p=redmine.git scm: git: fix functional test_annotate test. In spite of revision is incorrect revision, tests pass. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5975 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 87925449c..d42c76e9f 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -268,7 +268,8 @@ class RepositoriesGitControllerTest < ActionController::TestCase :tag => 'a', :content => /2f9c0091c754a91af7a9c478e36556b4bde8dcf7/ } - }, + } + assert_tag :tag => 'th', :content => '24', :sibling => { :tag => 'td', :content => /jsmith/ } assert_tag :tag => 'th', :content => '24', :sibling => { @@ -277,7 +278,8 @@ class RepositoriesGitControllerTest < ActionController::TestCase :tag => 'a', :content => /2f9c0091c754a91af7a9c478e36556b4bde8dcf7/ } - }, + } + assert_tag :tag => 'th', :content => '24', :sibling => { :tag => 'td', :content => /watcher =/ } end