]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceBeforeComma in test/mocks/open_id_authentication_mo...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 14:27:42 +0000 (14:27 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 14:27:42 +0000 (14:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19202 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/mocks/open_id_authentication_mock.rb

index 7f5f124aabb362d4f03d858b9933274128ba7907..cb522dcc55c76c1ba4a3c15a72bf87492fc26d21 100644 (file)
@@ -265,11 +265,6 @@ Layout/SpaceAroundEqualsInParameterDefault:
 Layout/SpaceAroundOperators:
   Enabled: false
 
-# Cop supports --auto-correct.
-Layout/SpaceBeforeComma:
-  Exclude:
-    - 'test/mocks/open_id_authentication_mock.rb'
-
 # Cop supports --auto-correct.
 # Configuration parameters: AllowForAlignment.
 Layout/SpaceBeforeFirstArg:
index 06bb65cd078eef3cf3372a6434a9cd42dbba8abc..59bd585c1c1554f0318615da02544f74e50c384e 100644 (file)
@@ -31,7 +31,7 @@ module OpenIdAuthentication
           end unless options[:optional].nil?
         end
 
-        yield Result[:successful], identity_url , extension_response_fields
+        yield Result[:successful], identity_url, extension_response_fields
       else
         logger.info "OpenID authentication failed: #{identity_url}"
         yield Result[:failed], identity_url, nil