mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 17:56:03 +01:00
Fix RuboCop offense Style/RedundantFilterChain (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22251 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2235,7 +2235,7 @@ class IssueTest < ActiveSupport::TestCase
|
|||||||
assert parent.closable?
|
assert parent.closable?
|
||||||
assert_nil parent.transition_warning
|
assert_nil parent.transition_warning
|
||||||
assert allowed_statuses.any?
|
assert allowed_statuses.any?
|
||||||
assert allowed_statuses.select(&:is_closed?).any?
|
assert allowed_statuses.any?(&:is_closed?)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_reschedule_an_issue_without_dates
|
def test_reschedule_an_issue_without_dates
|
||||||
|
|||||||
Reference in New Issue
Block a user