mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
cleanup: rubocop: fix Layout/SpaceBeforeComma in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19202 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5f6a86a774
commit
945a8b5417
@ -265,11 +265,6 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
|||||||
Layout/SpaceAroundOperators:
|
Layout/SpaceAroundOperators:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
Layout/SpaceBeforeComma:
|
|
||||||
Exclude:
|
|
||||||
- 'test/mocks/open_id_authentication_mock.rb'
|
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: AllowForAlignment.
|
# Configuration parameters: AllowForAlignment.
|
||||||
Layout/SpaceBeforeFirstArg:
|
Layout/SpaceBeforeFirstArg:
|
||||||
|
|||||||
@ -31,7 +31,7 @@ module OpenIdAuthentication
|
|||||||
end unless options[:optional].nil?
|
end unless options[:optional].nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
yield Result[:successful], identity_url , extension_response_fields
|
yield Result[:successful], identity_url, extension_response_fields
|
||||||
else
|
else
|
||||||
logger.info "OpenID authentication failed: #{identity_url}"
|
logger.info "OpenID authentication failed: #{identity_url}"
|
||||||
yield Result[:failed], identity_url, nil
|
yield Result[:failed], identity_url, nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user