]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 11:40:00 +0000 (11:40 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 11:40:00 +0000 (11:40 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18803 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 316137a78da77f3686ff9d22e79c7e9b03545314..5f9c718ef49e0c6063d396cd2e227c2c7b9ad406 100644 (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