summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-02-01 11:45:48 +0000
committerGo MAEDA <maeda@farend.jp>2024-02-01 11:45:48 +0000
commit5c492560b53b7c949d80b76f06daa5ccf9e5e005 (patch)
tree211df0eecd6c2d9698cbf441e9597867aae17d4d /test/integration/api_test
parent4517a4684e5515fe12121abdcb87758959ab6ff2 (diff)
downloadredmine-5c492560b53b7c949d80b76f06daa5ccf9e5e005.tar.gz
redmine-5c492560b53b7c949d80b76f06daa5ccf9e5e005.zip
Fix RuboCop offense Layout/SpaceAroundBlockParameters (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22668 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test')
-rw-r--r--test/integration/api_test/users_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb
index 88f39bf20..9c204b4c2 100644
--- a/test/integration/api_test/users_test.rb
+++ b/test/integration/api_test/users_test.rb
@@ -136,7 +136,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base
json = ActiveSupport::JSON.decode(response.body)
assert json.key?('users')
- json['users'].each do | user_json |
+ json['users'].each do |user_json|
if user_json['id'] == user.id
assert_kind_of Hash, user_json['auth_source']
assert_equal user.auth_source.id, user_json['auth_source']['id']