summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
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