diff --git a/spec/templates_spec.rb b/spec/templates_spec.rb index 2a0fec5..3aba338 100644 --- a/spec/templates_spec.rb +++ b/spec/templates_spec.rb @@ -16,10 +16,11 @@ it 'supports ERB templates' do book, = to_epub <<~EOS, template_dirs: [fixtures_dir.join('templates/erb').to_s] -= Article + = Article + + Paragraph + EOS -Paragraph -EOS chapter = book.item_by_href '_article.xhtml' expect(chapter).not_to be_nil expect(chapter.content).to include 'Paragraph'