mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user