From: Toshi MARUYAMA Date: Mon, 7 Oct 2019 07:20:50 +0000 (+0000) Subject: code cleanup: rubocop: fix Layout/SpaceAfterColon in test/functional/issues_controlle... X-Git-Tag: 4.1.0~480 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff3df17fee03a0152a26166c26fc982b02e8b32f;p=redmine.git code cleanup: rubocop: fix Layout/SpaceAfterColon in test/functional/issues_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18609 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a4f5dd4ae..53d94bd97 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -363,7 +363,6 @@ Layout/RescueEnsureAlignment: # Cop supports --auto-correct. Layout/SpaceAfterColon: Exclude: - - 'test/functional/issues_controller_test.rb' - 'test/integration/wiki_test.rb' # Cop supports --auto-correct. diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 1ff249e83..826fd16fc 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -356,10 +356,10 @@ class IssuesControllerTest < Redmine::ControllerTest } assert_response :success assert_select 'tr.group span.name', :value => '2018-08-10' do - assert_select '~ span.count', value:'2' + assert_select '~ span.count', :value => '2' end assert_select 'tr.group span.name', :value => '(blank)' do - assert_select '~ span.count', value:'1' + assert_select '~ span.count', :value => '1' end end