From 7d70e5175afde5704ccd44603245b39d3294f382 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Oct 2019 07:21:14 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/SpaceAfterColon in test/integration/wiki_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18611 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 5 ----- test/integration/wiki_test.rb | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 580340ca6..8477c8fe9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -360,11 +360,6 @@ Layout/RescueEnsureAlignment: Exclude: - 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb' -# Cop supports --auto-correct. -Layout/SpaceAfterColon: - Exclude: - - 'test/integration/wiki_test.rb' - # Cop supports --auto-correct. Layout/SpaceAfterComma: Enabled: false diff --git a/test/integration/wiki_test.rb b/test/integration/wiki_test.rb index 0a04cc2ac..5774e413d 100644 --- a/test/integration/wiki_test.rb +++ b/test/integration/wiki_test.rb @@ -44,7 +44,7 @@ class WikiIntegrationTest < Redmine::IntegrationTest # this update should not end up with a loss of content put '/projects/ecookbook/wiki/Wiki', params: { content: { - text: "# Wiki\r\n\r\ncontent", comments:"" + text: "# Wiki\r\n\r\ncontent", comments: "" }, wiki_page: { parent_id: "" } } @@ -61,7 +61,7 @@ class WikiIntegrationTest < Redmine::IntegrationTest # this update should not end up with a loss of content put '/projects/ecookbook/wiki/Wiki', params: { content: { - version: content.version, text: "# Wiki\r\n\r\nnew content", comments:"" + version: content.version, text: "# Wiki\r\n\r\nnew content", comments: "" }, wiki_page: { parent_id: "" } } @@ -70,5 +70,4 @@ class WikiIntegrationTest < Redmine::IntegrationTest follow_redirect! assert_select 'div', /new content/ end - end -- 2.39.5