diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-27 07:36:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-27 07:36:06 +0000 |
commit | 8a2786c91e528138ba91037791a02889b7ebdcb1 (patch) | |
tree | 18da649e67c6130281a82f4b895a291278e77805 | |
parent | fb68f4703bc5f9e3f49d9275109cd20a4675bfd4 (diff) | |
download | redmine-8a2786c91e528138ba91037791a02889b7ebdcb1.tar.gz redmine-8a2786c91e528138ba91037791a02889b7ebdcb1.zip |
Fixes that test randomly fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10727 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/issues_controller_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |