mirror of
https://github.com/redmine/redmine.git
synced 2025-11-17 18:50:53 +01:00
code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_table_of_content
git-svn-id: http://svn.redmine.org/redmine/trunk@18802 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1252,8 +1252,7 @@ EXPECTED
|
||||
|
||||
def test_table_of_content
|
||||
set_language_if_valid 'en'
|
||||
|
||||
raw = <<-RAW
|
||||
raw = <<~RAW
|
||||
{{toc}}
|
||||
|
||||
h1. Title
|
||||
@@ -1283,7 +1282,6 @@ h3. An "Internet link":http://www.redmine.org/ inside subtitle
|
||||
h2. "Project Name !/attachments/1234/logo_small.gif! !/attachments/5678/logo_2.png!":/projects/projectname/issues
|
||||
|
||||
RAW
|
||||
|
||||
expected = '<ul class="toc">' +
|
||||
'<li><strong>Table of contents</strong></li>' +
|
||||
'<li><a href="#Title">Title</a>' +
|
||||
|
||||
Reference in New Issue
Block a user