]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/SpaceAfterColon in test/functional/issues_controlle...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:20:50 +0000 (07:20 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:20:50 +0000 (07:20 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18609 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/issues_controller_test.rb

index a4f5dd4ae491a825535e4976c90d899317bbb25b..53d94bd9727f5fbf2f4a77ca9f8ed29798c50d66 100644 (file)
@@ -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.
index 1ff249e8349efa675194272a1e8733d2a3a7314b..826fd16fc7d1f43aed99147141da6c816b802484 100644 (file)
@@ -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