OSDN Git Service

Fixes diff test regarding r5094.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Mar 2011 12:06:58 +0000 (12:06 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Mar 2011 12:06:58 +0000 (12:06 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5095 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_bazaar_controller_test.rb

index 576b710..d014c75 100644 (file)
@@ -116,12 +116,12 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase
       get :diff, :id => 3, :rev => 3
       assert_response :success
       assert_template 'diff'
-      # Line 22 removed
+      # Line 11 removed
       assert_tag :tag => 'th',
-                 :content => /2/,
+                 :content => /11/,
                  :sibling => { :tag => 'td', 
-                               :attributes => { :class => /diff_in/ },
-                               :content => /Main purpose/ }
+                               :attributes => { :class => /diff_out/ },
+                               :content => /Display more information/ }
     end
     
     def test_annotate