Sha256: 2b4f656b08b4aecf0b18d13ca84ad1fbbf86d25472129de8f724c12d1f50e396

Contents?: true

Size: 382 Bytes

Versions: 10

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

describe ReverseAsciidoctor do

  let(:input)    { File.read('spec/assets/quotation.html') }
  let(:document) { Nokogiri::HTML(input) }
  subject { ReverseAsciidoctor.convert(input) }

  it { is_expected.to match /\n      <code>Block of code<\/code>$/ }
  it { is_expected.to include "\n____\nFirst quoted paragraph\n\nSecond quoted paragraph\n____\n" }

end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
reverse_adoc-0.2.8 spec/components/quotation_spec.rb
reverse_adoc-0.2.7 spec/components/quotation_spec.rb
reverse_adoc-0.2.6 spec/components/quotation_spec.rb
reverse_adoc-0.2.5 spec/components/quotation_spec.rb
reverse_adoc-0.2.4 spec/components/quotation_spec.rb
reverse_adoc-0.2.3 spec/components/quotation_spec.rb
reverse_asciidoctor-0.2.2 spec/components/quotation_spec.rb
reverse_asciidoctor-0.2.1 spec/components/quotation_spec.rb
reverse_asciidoctor-0.2.0 spec/components/quotation_spec.rb
reverse_asciidoctor-0.1.0 spec/components/quotation_spec.rb