diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-04-27 04:31:38 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-04-27 04:31:38 -0600 |
| commit | 94cdbfd5ca9b392031dfe1e00ca6f51d3d64cba1 (patch) | |
| tree | d0917ab14b414805f7ab7cf970c33615323dab90 /spec/section_spec.rb | |
| parent | bd51a9dbc6fad55d5f2847449fd6f2b057cb52a1 (diff) | |
change name of untitled option on special section to notitle
Diffstat (limited to 'spec/section_spec.rb')
| -rw-r--r-- | spec/section_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/section_spec.rb b/spec/section_spec.rb index a0fe54f6..6e28fab5 100644 --- a/spec/section_spec.rb +++ b/spec/section_spec.rb @@ -713,12 +713,12 @@ describe 'Asciidoctor::PDF::Converter - Section' do (expect appendix_text[:page_number]).to be 4 end - it 'should not output section title for special section marked with untitled option' do + it 'should not output section title for special section marked with notitle option' do pdf = to_pdf <<~'EOS', pdf_theme: { heading_h2_font_color: 'AA0000' }, analyze: true = Document Title :doctype: book - [colophon%untitled] + [colophon%notitle] = Hide Me Colophon with no title. @@ -748,7 +748,7 @@ describe 'Asciidoctor::PDF::Converter - Section' do (expect appendix_text[:page_number]).to be 5 end - it 'should not leave behind dest for empty section marked with untitled option' do + it 'should not leave behind dest for empty section marked with notitle option' do pdf = to_pdf <<~'EOS' = Document Title :doctype: book @@ -757,7 +757,7 @@ describe 'Asciidoctor::PDF::Converter - Section' do Musings. - [colophon%untitled] + [colophon%notitle] == Hidden EOS |
