mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
6d22d66b9d
commit
44cbd0eaa9
@ -113,13 +113,6 @@ Layout/CommentIndentation:
|
|||||||
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
|
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
|
||||||
- 'test/unit/lib/redmine/wiki_formatting/textile_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.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle.
|
# Configuration parameters: EnforcedStyle.
|
||||||
# SupportedStyles: leading, trailing
|
# SupportedStyles: leading, trailing
|
||||||
|
|||||||
@ -101,7 +101,7 @@ class DocumentsControllerTest < Redmine::ControllerTest
|
|||||||
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_index_with_long_description
|
def test_index_with_long_description
|
||||||
# adds a long description to the first document
|
# adds a long description to the first document
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user