From 296d70e8aa6cac0a566f2f4cf8f2a7ddc7a8bdba 2011-06-01 06:11:51 From: Toshi MARUYAMA Date: 2011-06-01 06:11:51 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 --- diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb index fb9438c..9ad7098 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