mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 09:03:25 +00:00
code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_inline_images_inside_tags
git-svn-id: http://svn.redmine.org/redmine/trunk@18803 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f1e26cbb54
commit
b2cd8771f3
@ -130,14 +130,13 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
end
|
||||
|
||||
def test_inline_images_inside_tags
|
||||
raw = <<-RAW
|
||||
h1. !foo.png! Heading
|
||||
raw = <<~RAW
|
||||
h1. !foo.png! Heading
|
||||
|
||||
Centered image:
|
||||
|
||||
p=. !bar.gif!
|
||||
RAW
|
||||
Centered image:
|
||||
|
||||
p=. !bar.gif!
|
||||
RAW
|
||||
assert textilizable(raw).include?('<img src="foo.png" alt="" />')
|
||||
assert textilizable(raw).include?('<img src="bar.gif" alt="" />')
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user