summaryrefslogtreecommitdiffstats
path: root/test/helpers/application_helper_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-22 11:40:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-22 11:40:00 +0000
commitb2cd8771f33a0d0354c50b9b4ddedf254195f783 (patch)
treed22a8a0b240cc1db1d2ae94d87aef8b07f336eff /test/helpers/application_helper_test.rb
parentf1e26cbb548917c355e43a020e9012207fe2672c (diff)
downloadredmine-b2cd8771f33a0d0354c50b9b4ddedf254195f783.tar.gz
redmine-b2cd8771f33a0d0354c50b9b4ddedf254195f783.zip
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
Diffstat (limited to 'test/helpers/application_helper_test.rb')
-rw-r--r--test/helpers/application_helper_test.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 316137a78..5f9c718ef 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -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