From cfcb52fbe367d5f9259cad376510daefd442cbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 3 Jun 2020 16:54:21 +0200 Subject: [PATCH] Enable `Style/MethodCallWithoutArgsParentheses` in rubygems --- test/rubygems/test_gem_commands_signin_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb index 8991f65302..b559ddd331 100644 --- a/test/rubygems/test_gem_commands_signin_command.rb +++ b/test/rubygems/test_gem_commands_signin_command.rb @@ -23,7 +23,7 @@ class TestGemCommandsSigninCommand < Gem::TestCase end def test_execute_when_not_already_signed_in - sign_in_ui = util_capture() { @cmd.execute } + sign_in_ui = util_capture { @cmd.execute } assert_match %r{Signed in.}, sign_in_ui.output end