From 44cbd0eaa99ce5a1c34df206162d6d940e87d210 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 4 Aug 2019 16:06:49 +0000 Subject: [PATCH] rubocop: fix Layout/DefEndAlignment of test/functional/documents_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18350 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 7 ------- test/functional/documents_controller_test.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ff2451bdd..b1f11b93d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -113,13 +113,6 @@ Layout/CommentIndentation: - 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb' - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb' -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. -# SupportedStylesAlignWith: start_of_line, def -Layout/DefEndAlignment: - Exclude: - - 'test/functional/documents_controller_test.rb' - # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: leading, trailing diff --git a/test/functional/documents_controller_test.rb b/test/functional/documents_controller_test.rb index 891ecdebc..c0e9e3e26 100644 --- a/test/functional/documents_controller_test.rb +++ b/test/functional/documents_controller_test.rb @@ -101,7 +101,7 @@ class DocumentsControllerTest < Redmine::ControllerTest assert_select "h3:nth-of-type(#{idx + 1})", :text => text end end - end + end def test_index_with_long_description # adds a long description to the first document -- 2.39.5