1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix RuboCop offense Style/RedundantFilterChain (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@22337 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-10-12 10:08:15 +00:00
parent ea38a40b7a
commit e067210432

View File

@ -2947,7 +2947,7 @@ class IssuesControllerTest < Redmine::ControllerTest
def test_show_export_to_pdf
issue = Issue.find(3)
assert issue.relations.select{|r| r.other_issue(issue).visible?}.present?
assert issue.relations.any? {|r| r.other_issue(issue).visible?}
get(
:show,
:params => {