diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 386de908b..82c105443 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -281,7 +281,6 @@ Layout/SpaceInsideArrayLiteralBrackets: - 'app/models/query.rb' - 'lib/diff.rb' - 'lib/redmine/i18n.rb' - - 'test/mocks/open_id_authentication_mock.rb' - 'test/unit/mailer_localisation_test.rb' - 'test/unit/mailer_test.rb' - 'test/unit/search_test.rb' diff --git a/test/mocks/open_id_authentication_mock.rb b/test/mocks/open_id_authentication_mock.rb index dcc8ed441..a6d5cd030 100644 --- a/test/mocks/open_id_authentication_mock.rb +++ b/test/mocks/open_id_authentication_mock.rb @@ -43,7 +43,7 @@ module OpenIdAuthentication private def add_simple_registration_fields(open_id_response, fields) - open_id_response.add_extension_arg('sreg', 'required', [ fields[:required] ].flatten * ',') if fields[:required] - open_id_response.add_extension_arg('sreg', 'optional', [ fields[:optional] ].flatten * ',') if fields[:optional] + open_id_response.add_extension_arg('sreg', 'required', [fields[:required]].flatten * ',') if fields[:required] + open_id_response.add_extension_arg('sreg', 'optional', [fields[:optional]].flatten * ',') if fields[:optional] end end