1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-02 21:59:39 +00:00

code cleanup: rubocop: fix Layout/IndentationConsistency in test/helpers/application_helper_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18644 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-13 16:22:31 +00:00
parent 1977128c0b
commit 940377314b
2 changed files with 1 additions and 2 deletions

View 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'

View 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