# frozen_string_literal: true require_relative 'spec_helper' describe 'Asciidoctor::Epub3::Converter - Stem' do it 'supports mathml stem blocks' do book, = to_epub fixture_file('stem.adoc') chapter = book.item_by_href 'stem.xhtml' expect(chapter).not_to be_nil expect(chapter.content).to include '
Math
y=x24
' end it 'supports inline mathml' do book, = to_epub fixture_file('inline-stem.adoc') chapter = book.item_by_href 'inline-stem.xhtml' expect(chapter).not_to be_nil expect(chapter.content).to include 'Inline stem: y=x24' end end