Sha256: a42cfe8df352c1e4e727b5ec544cfc6156ef96598dec7df908502bbb4e94612d

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe ReverseAsciidoctor::Converters::Aside do

  let(:converter) { ReverseAsciidoctor::Converters::Aside.new }

  it 'converts aside' do
    input = node_for("<aside><ul><li>foo</li></ul></aside>")
    result = converter.convert(input)
    expect(result).to eq "\n\n\*\*\*\*\n\n* foo\n\n\*\*\*\*\n\n"
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
reverse_adoc-0.2.8 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_adoc-0.2.7 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_adoc-0.2.6 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_adoc-0.2.5 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_adoc-0.2.4 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_adoc-0.2.3 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_asciidoctor-0.2.2 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_asciidoctor-0.2.1 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_asciidoctor-0.2.0 spec/lib/reverse_asciidoctor/converters/aside_spec.rb
reverse_asciidoctor-0.1.0 spec/lib/reverse_asciidoctor/converters/aside_spec.rb