summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-11 13:30:25 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-11 13:30:25 +0000
commitdbf8c1d921ce227d8fde88b62113a17fc8fe778d (patch)
treead5860c05df0b0f6e0123604cc789d159b42f69c /test/integration
parent1d3a76580f3eb732da45b99220cc8d64d277c535 (diff)
downloadredmine-dbf8c1d921ce227d8fde88b62113a17fc8fe778d.tar.gz
redmine-dbf8c1d921ce227d8fde88b62113a17fc8fe778d.zip
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22031 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/issues_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb
index 425343c23..c5f0d3496 100644
--- a/test/integration/api_test/issues_test.rb
+++ b/test/integration/api_test/issues_test.rb
@@ -231,7 +231,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
json = ActiveSupport::JSON.decode(response.body)
status_ids_used = json['issues'].collect {|j| j['status']['id']}
assert_equal 3, status_ids_used.length
- assert status_ids_used.all? {|id| id == 5}
+ assert status_ids_used.all?(5)
end
test "GET /issues/:id.xml with journals" do