Browse Source

Fix RuboCop offense Style/RedundantFilterChain (#36919).


git-svn-id: https://svn.redmine.org/redmine/trunk@22337 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 8 months ago
parent
commit
e067210432
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/functional/issues_controller_test.rb

+ 1
- 1
test/functional/issues_controller_test.rb 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 => {

Loading…
Cancel
Save