Browse Source

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
tags/4.1.0
Toshi MARUYAMA 4 years ago
parent
commit
b2cd8771f3
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      test/helpers/application_helper_test.rb

+ 5
- 6
test/helpers/application_helper_test.rb View File

@@ -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…
Cancel
Save