Sha256: 9f0bfd2bc27352c94daafaea08666f6a3f0e15e1d999a190a4866f482d77cab2

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 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

2 entries across 2 versions & 1 rubygems

Version Path
reverse_adoc-1.0.1 spec/lib/reverse_adoc/converters/li_spec.rb
reverse_adoc-1.0.0 spec/lib/reverse_adoc/converters/li_spec.rb