summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-04-21 12:00:22 +0000
committerGo MAEDA <maeda@farend.jp>2018-04-21 12:00:22 +0000
commita4ffda7b3714076ffd920efeeef86dd8c0e5710c (patch)
tree120e553396c7e9f17039ad397adea8057daec2e7 /test/test_helper.rb
parent07b9ce80f6252fd028c72db382183fdfd367a4b6 (diff)
downloadredmine-a4ffda7b3714076ffd920efeeef86dd8c0e5710c.tar.gz
redmine-a4ffda7b3714076ffd920efeeef86dd8c0e5710c.zip
Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 34aebd4d2..6dcdb7a7c 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -305,7 +305,7 @@ module Redmine
# Return the columns that are displayed in the issue list
def columns_in_issues_list
- css_select('table.issues thead th:not(.checkbox)').map(&:text)
+ css_select('table.issues thead th:not(.checkbox)').map(&:text).select(&:present?)
end
# Return the columns that are displayed in the list