Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Jan 12, 2025
1 parent 769d9ce commit 7a883c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/templates_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<erb>Paragraph</erb>'
Expand Down

0 comments on commit 7a883c0

Please sign in to comment.