Sha256: 8e2f8aa3e5f6a380767c086691929ad6031719050a2447e9efdac0878fe54909

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

describe ReverseAdoc::Converters::P do

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

  it 'converts p with anchor' do
    node = node_for("<p id='A'>puts foo</p>")
    expect(converter.convert(node)).to include "\n[[A]]\nputs foo"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
reverse_adoc-0.3.7 spec/lib/reverse_adoc/converters/p_spec.rb
reverse_adoc-0.3.6 spec/lib/reverse_adoc/converters/p_spec.rb
reverse_adoc-0.3.5 spec/lib/reverse_adoc/converters/p_spec.rb
reverse_adoc-0.3.4 spec/lib/reverse_adoc/converters/p_spec.rb
reverse_adoc-0.3.3 spec/lib/reverse_adoc/converters/p_spec.rb
reverse_adoc-0.3.1 spec/lib/reverse_adoc/converters/p_spec.rb