]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/IndentationConsistency in test/helpers/application_...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Oct 2019 16:22:31 +0000 (16:22 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Oct 2019 16:22:31 +0000 (16:22 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18644 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/helpers/application_helper_test.rb

index 0ac19656faded3e08078cdf5cda15995aa426f0f..38b0738e25b990cbafc74e4fb8988597c831d9d3 100644 (file)
@@ -286,7 +286,6 @@ Layout/IndentHeredoc:
 # SupportedStyles: normal, indented_internal_methods
 Layout/IndentationConsistency:
   Exclude:
-    - 'test/helpers/application_helper_test.rb'
     - 'test/integration/api_test/custom_fields_attribute_test.rb'
     - 'test/mocks/open_id_authentication_mock.rb'
 
index 552eb210f8eb2e440d30cc45ad1343f0a26c06ee..fe95872b87ed33b0789700c912afe7db72a32012 100644 (file)
@@ -185,7 +185,7 @@ RAW
 
   def test_attached_images_with_hires_naming
     attachment = Attachment.generate!(:filename => 'image@2x.png')
-      assert_equal %(<p><img src="/attachments/download/#{attachment.id}/image@2x.png" srcset="/attachments/download/#{attachment.id}/image@2x.png 2x" alt="" /></p>),
+    assert_equal %(<p><img src="/attachments/download/#{attachment.id}/image@2x.png" srcset="/attachments/download/#{attachment.id}/image@2x.png 2x" alt="" /></p>),
         textilizable("!image@2x.png!", :attachments => [attachment])
   end