File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -173,10 +173,8 @@ def test_generate_index_with_main_page
173173 index_html = File . binread ( 'index.html' )
174174
175175 assert_include index_html , "<h3>Table of Contents</h3>"
176- # GitHub-style: heading-1 (lowercase, space to hyphen)
177- assert_include index_html , '<span id="label-Heading+1" class="legacy-anchor"></span>
178- <h1 id="heading-1"><a href="#heading-1">Heading 1</a>'
179- # When there's a main page, the default description should not be shown
176+ assert_include index_html , '<span id="label-Heading+1" class="legacy-anchor"></span>'
177+ assert_include index_html , '<h1 id="heading-1"><a href="#heading-1">Heading 1</a>'
180178 assert_not_include index_html , 'This is the API documentation for My awesome Ruby project.'
181179 end
182180
You can’t perform that action at this time.
0 commit comments