mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47: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:
parent
ea38a40b7a
commit
e067210432
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user