diff options
author | Go MAEDA <maeda@farend.jp> | 2023-06-07 12:37:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-06-07 12:37:09 +0000 |
commit | bd2a9027f1189b6962ac099a1e6d3a61c2570355 (patch) | |
tree | a8e3205a9253b6c3784faa87b30f1a11c8d2a022 /test/unit | |
parent | cd20de25178c7c074d58806985129f2bfd741a41 (diff) | |
download | redmine-bd2a9027f1189b6962ac099a1e6d3a61c2570355.tar.gz redmine-bd2a9027f1189b6962ac099a1e6d3a61c2570355.zip |
Fix RuboCop offense Style/RedundantFilterChain (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22251 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/issue_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 188230022..aa2ff8270 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -2235,7 +2235,7 @@ class IssueTest < ActiveSupport::TestCase assert parent.closable? assert_nil parent.transition_warning assert allowed_statuses.any? - assert allowed_statuses.select(&:is_closed?).any? + assert allowed_statuses.any?(&:is_closed?) end def test_reschedule_an_issue_without_dates |