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