Sha256: abe660ce19d9290a9e11a64404aec4541677c639405a03aa76ae0e2c66dacacc

Contents?: true

Size: 347 Bytes

Versions: 8

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

describe ReverseMarkdown::Mapper do

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

  it { should include "\n    Block of code" }
  it { should include "\n> First quoted paragraph\n\n> Second quoted paragraph" }

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reverse_markdown-0.4.7 spec/components/quotation_spec.rb
reverse_markdown-0.4.6 spec/components/quotation_spec.rb
reverse_markdown-0.4.5 spec/components/quotation_spec.rb
reverse_markdown-0.4.4 spec/components/quotation_spec.rb
reverse_markdown-0.4.3 spec/components/quotation_spec.rb
reverse_markdown-0.4.2 spec/components/quotation_spec.rb
reverse_markdown-0.4.1 spec/components/quotation_spec.rb
reverse_markdown-0.4.0 spec/components/quotation_spec.rb