Sha256: a89b8638f815afbfd705414463669f6c5ecf4a42967c22848a194b132f1de191

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

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

      Another sidebar

      * This is a list

      ....
      And this is ascii-art
      ....
      ****
    INPUT
      <aside anchor="id">
      <t>Sidebar</t>
      <t>Another sidebar</t>
      <ul>
      <li>This is a list</li>
      </ul>
      <figure>
      <artwork type="ascii-art">And this is ascii-art</artwork>
      </figure>
      </aside>
    OUTPUT
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-rfc-0.8.2 spec/asciidoctor/rfc/v3/sidebar_spec.rb
asciidoctor-rfc-0.8.0 spec/asciidoctor/rfc/v3/sidebar_spec.rb
asciidoctor-rfc-0.2.0 spec/asciidoctor/rfc/v3/sidebar_spec.rb