Sha256: fba01499c3393ac66500546d61c46d5bf10f27904d2bed884e25f626cd5e92a0

Contents?: true

Size: 294 Bytes

Versions: 9

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

describe ReverseAdoc::Converters::Li do

  let(:converter) { ReverseAdoc::Converters::Li.new }

  it 'does not fail without a valid parent context' do
    input = node_for("<li>foo</li>")
    result = converter.convert(input)
    expect(result).to eq " foo\n"
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
reverse_adoc-0.3.7 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.6 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.5 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.4 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.3 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.1 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.3.0 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.2.10 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-0.2.9 spec/lib/reverse_adoc/converters/li_spec.rb