test/preamble_test.rb in asciidoctor-1.5.6.2 vs test/preamble_test.rb in asciidoctor-1.5.7
- old
+ new
@@ -143,10 +143,10 @@
The axe came swinging.
EOS
d = document_from_string(input)
assert_equal 'book', d.doctype
- output = d.render
+ output = d.convert
assert_xpath '//h1', output, 3
assert_xpath %{//*[@id="preamble"]//p[text() = "Back then#{decode_char 8230}#{decode_char 8203}"]}, output, 1
end
test 'should render table of contents in preamble if toc-placement attribute value is preamble' do