From 296d70e8aa6cac0a566f2f4cf8f2a7ddc7a8bdba Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 1 Jun 2011 06:11:51 +0000 Subject: [PATCH] scm: bazaar: 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@5980 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/repositories_bazaar_controller_test.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index fb9438c05..9ad709835 100644 --- a/test/functional/repositories_bazaar_controller_test.rb +++ b/test/functional/repositories_bazaar_controller_test.rb @@ -132,18 +132,20 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase :tag => 'td', :child => { :tag => 'a', - :content => /3/ + :content => '3' } - }, + } + assert_tag :tag => 'th', :content => '2', :sibling => { :tag => 'td', :content => /jsmith/ } assert_tag :tag => 'th', :content => '2', :sibling => { :tag => 'td', :child => { :tag => 'a', - :content => /3/ + :content => '3' } - }, + } + assert_tag :tag => 'th', :content => '2', :sibling => { :tag => 'td', :content => /Main purpose/ } end else -- 2.39.5