From 945a8b5417e7b0d098b8290ab45456f139da68b5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 14:27:42 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 5 ----- test/mocks/open_id_authentication_mock.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7f5f124aa..cb522dcc5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: diff --git a/test/mocks/open_id_authentication_mock.rb b/test/mocks/open_id_authentication_mock.rb index 06bb65cd0..59bd585c1 100644 --- a/test/mocks/open_id_authentication_mock.rb +++ b/test/mocks/open_id_authentication_mock.rb @@ -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 -- 2.39.5