]> source.dussan.org Git - redmine.git/commitdiff
Potential test failure fixed.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 24 Feb 2012 18:43:35 +0000 (18:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 24 Feb 2012 18:43:35 +0000 (18:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8981 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index 371de69a6150675b675ff7844dabcda3eb854878..ca754197cb7bbed6194a72040c17e0fd14493d9f 100644 (file)
@@ -1035,8 +1035,8 @@ class IssuesControllerTest < ActionController::TestCase
       get :show, :id => 3
       assert_response :success, "Wrong response status for #{assoc_sort} sort"
 
-      assert_tag 'a', :content => /Previous/
-      assert_tag 'a', :content => /Next/
+      assert_tag 'div', :attributes => {:class => /next-prev-links/}, :content => /Previous/
+      assert_tag 'div', :attributes => {:class => /next-prev-links/}, :content => /Next/
     end
   end