Sha256: 2993e206ad1c27ffea2bd222b59bdfb6740ea899ac16701b57135385b8c34e51
Contents?: true
Size: 932 Bytes
Versions: 8
Compression:
Stored size: 932 Bytes
Contents
require "spec_helper" describe Asciidoctor::RFC::V3::Converter do it "renders keywords" do expect(Asciidoctor.convert(<<~'INPUT', backend: :rfc3, header_footer: true)).to be_equivalent_to <<~'OUTPUT' = Document title :docName: Author :keyword: first_keyword, second_keyword == Section 1 Text INPUT <?xml version="1.0" encoding="US-ASCII"?> <!DOCTYPE rfc SYSTEM "rfc2629.dtd"> <rfc prepTime="2000-01-01T05:00:00Z" version="3" submissionType="IETF"> <front> <title>Document title</title> <author fullname="Author"> </author> <date day="1" month="January" year="2000"/> <keyword>first_keyword</keyword> <keyword>second_keyword</keyword> </front><middle> <section anchor="_section_1" numbered="false"> <name>Section 1</name> <t>Text</t> </section> </middle> </rfc> OUTPUT end end
Version data entries
8 entries across 8 versions & 1 rubygems