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:
parent
1977128c0b
commit
940377314b
@ -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'
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user