]> source.dussan.org Git - redmine.git/commitdiff
rubocop: fix Layout/DefEndAlignment of test/functional/documents_controller_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 4 Aug 2019 16:06:49 +0000 (16:06 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 4 Aug 2019 16:06:49 +0000 (16:06 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18350 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/documents_controller_test.rb

index ff2451bddb7894b3b10f91156a25ea293a3eb327..b1f11b93d110271b42788892d7180388a3137231 100644 (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
index 891ecdebc1975d84ab500d4f7b37814d16aa35bf..c0e9e3e264602fe89ec3f33f803594e8979da580 100644 (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