Sha256: 7948f9476bbe77d1fd2ae22a19c65326253a5f1feda54b3f6cbe3db96d45db9a

Contents?: true

Size: 303 Bytes

Versions: 18

Compression:

Stored size: 303 Bytes

Contents

require 'spec_helper'

describe ReverseMarkdown::Converters::Li do

  let(:converter) { ReverseMarkdown::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

18 entries across 18 versions & 2 rubygems

Version Path
reverse_markdown-3.0.0 spec/lib/reverse_markdown/converters/li_spec.rb
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/reverse_markdown-2.1.1/spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-2.1.1 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-2.0.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.4.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.3.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.2.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.1.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.5 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.4 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.3 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.2 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.1 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-1.0.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-0.8.2 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-0.8.1 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-0.8.0 spec/lib/reverse_markdown/converters/li_spec.rb
reverse_markdown-0.7.0 spec/lib/reverse_markdown/converters/li_spec.rb