diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-07 07:20:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-07 07:20:50 +0000 |
commit | ff3df17fee03a0152a26166c26fc982b02e8b32f (patch) | |
tree | 9bf568ef115b1c21c5026b2d88080eed0d47f8b7 | |
parent | a7f046ee7a7ae253b4ddfd01a419f0f580e61bb7 (diff) | |
download | redmine-ff3df17fee03a0152a26166c26fc982b02e8b32f.tar.gz redmine-ff3df17fee03a0152a26166c26fc982b02e8b32f.zip |
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
-rw-r--r-- | .rubocop_todo.yml | 1 | ||||
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
2 files changed, 2 insertions, 3 deletions
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 |