mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 22:36:02 +01:00
Fix RuboCop offense Layout/SpaceAroundBlockParameters (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22668 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user