Sha256: c3f6ebb0264ca7bbc0e22608da5d749a8506a0602c3904e7ddd7fc396cc66afd

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

describe ReverseAdoc do

  let(:input)    { File.read('spec/assets/quotation.html') }
  let(:document) { Nokogiri::HTML(input) }
  subject { ReverseAdoc.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

7 entries across 7 versions & 1 rubygems

Version Path
reverse_adoc-0.3.5 spec/components/quotation_spec.rb
reverse_adoc-0.3.4 spec/components/quotation_spec.rb
reverse_adoc-0.3.3 spec/components/quotation_spec.rb
reverse_adoc-0.3.1 spec/components/quotation_spec.rb
reverse_adoc-0.3.0 spec/components/quotation_spec.rb
reverse_adoc-0.2.10 spec/components/quotation_spec.rb
reverse_adoc-0.2.9 spec/components/quotation_spec.rb