Sha256: 1cc76e595db243658b451cbf19b1edddfb01c74767a902d96c145fb4398028e2
Contents?: true
Size: 952 Bytes
Versions: 8
Compression:
Stored size: 952 Bytes
Contents
require "spec_helper" describe Asciidoctor::RFC::V3::Converter do it "renders workgroups" do expect(Asciidoctor.convert(<<~'INPUT', backend: :rfc3, header_footer: true)).to be_equivalent_to <<~'OUTPUT' = Document title :docName: Author :workgroup: first_workgroup, second_workgroup == 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"/> <workgroup>first_workgroup</workgroup> <workgroup>second_workgroup</workgroup> </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