1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-08-04 16:06:49 +00:00
parent 6d22d66b9d
commit 44cbd0eaa9
2 changed files with 1 additions and 8 deletions

View File

@ -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

View File

@ -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