Sha256: f847cb67a802387c4a1ee2686c4897acfca8bb6f4767ef115e489c8d53ce5db1

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 Bytes

Contents

require "spec_helper"
describe Asciidoctor::RFC::V2::Converter do
  it "renders a sidebar as normal paragraphs" do
    expect(Asciidoctor.convert(<<~'INPUT', backend: :rfc2)).to be_equivalent_to <<~'OUTPUT'
      [[id]]
      ****
      Sidebar

      Another sidebar

      * This is a list

      ....
      And this is ascii-art
      ....
      ****
    INPUT
      <t>Sidebar</t>
      <t>Another sidebar</t>
      <t>
      <list style="symbols">
      <t>This is a list</t>
      </list>
      </t>
      <figure>
      <artwork><![CDATA[
      And this is ascii-art
      ]]></artwork>
      </figure>
    OUTPUT
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-rfc-0.9.2 spec/asciidoctor/rfc/v2/sidebar_spec.rb
asciidoctor-rfc-0.9.1 spec/asciidoctor/rfc/v2/sidebar_spec.rb
asciidoctor-rfc-0.9.0 spec/asciidoctor/rfc/v2/sidebar_spec.rb
asciidoctor-rfc-0.8.5 spec/asciidoctor/rfc/v2/sidebar_spec.rb
asciidoctor-rfc-0.8.3 spec/asciidoctor/rfc/v2/sidebar_spec.rb