From 79ea7e7d8b1ca01b0d93fe307b0b1fd2b5aa22f0 Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Thu, 2 Jul 2020 22:33:57 +0300 Subject: resolves #123 remove from chapter subtitle (#345) --- spec/converter_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/converter_spec.rb b/spec/converter_spec.rb index 306c3a3..69dd734 100644 --- a/spec/converter_spec.rb +++ b/spec/converter_spec.rb @@ -76,7 +76,7 @@ describe Asciidoctor::Epub3::Converter do appendix = book.items[spine[1].idref] expect(appendix).not_to be_nil expect(appendix.href).to eq('appendix.xhtml') - expect(appendix.content).to include('Appendix A: Appendix') + expect(appendix.content).to include('Appendix A: Appendix') end it 'supports section numbers' do @@ -89,7 +89,7 @@ describe Asciidoctor::Epub3::Converter do EOS chapter = book.item_by_href '_chapter.xhtml' expect(chapter).not_to be_nil - expect(chapter.content).to include('1. Chapter') + expect(chapter.content).to include('1. Chapter') end it 'converts multi-part book' do -- cgit v1.2.3