From 8a2786c91e528138ba91037791a02889b7ebdcb1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 27 Oct 2012 07:36:06 +0000 Subject: Fixes that test randomly fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10727 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/functional') diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index d1675c845..271791f44 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1136,8 +1136,7 @@ class IssuesControllerTest < ActionController::TestCase assert_response :success, "Wrong response status for #{assoc_sort} sort" assert_select 'div.next-prev-links' do - assert_select 'a', :text => /Previous/ - assert_select 'a', :text => /Next/ + assert_select 'a', :text => /(Previous|Next)/ end end end -- cgit v1.2.3