mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
cleanup: rubocop: fix Layout/SpaceInsideArrayLiteralBrackets in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19229 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -281,7 +281,6 @@ Layout/SpaceInsideArrayLiteralBrackets:
|
|||||||
- 'app/models/query.rb'
|
- 'app/models/query.rb'
|
||||||
- 'lib/diff.rb'
|
- 'lib/diff.rb'
|
||||||
- 'lib/redmine/i18n.rb'
|
- 'lib/redmine/i18n.rb'
|
||||||
- 'test/mocks/open_id_authentication_mock.rb'
|
|
||||||
- 'test/unit/mailer_localisation_test.rb'
|
- 'test/unit/mailer_localisation_test.rb'
|
||||||
- 'test/unit/mailer_test.rb'
|
- 'test/unit/mailer_test.rb'
|
||||||
- 'test/unit/search_test.rb'
|
- 'test/unit/search_test.rb'
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ module OpenIdAuthentication
|
|||||||
private
|
private
|
||||||
|
|
||||||
def add_simple_registration_fields(open_id_response, fields)
|
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', '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', 'optional', [fields[:optional]].flatten * ',') if fields[:optional]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user