]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: fix functional test_annotate test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 1 Jun 2011 06:11:51 +0000 (06:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 1 Jun 2011 06:11:51 +0000 (06:11 +0000)
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

index fb9438c059ee36cfff98d434be3dccfcb3b802ae..9ad709835d77323c0792c75828748a6ffb41fbc1 100644 (file)
@@ -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