Sha256: 0c5f44c4131472521db9378530c9bfacbe10d8a1759b54ed31975b107dad864b

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 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 { subject.should include "\n    Block of code" }
  it { subject.should include "\n> First quoted paragraph\n\n> Second quoted paragraph" }

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reverse_markdown-0.3.0 spec/components/quotation_spec.rb