Sha256: b25734f9070d1574e7df3af21d1c619191d62ad603ec8f045ca7da46c58f873c

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

describe ReverseMarkdown do

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

  it "should make sense of strong-crazy markup (as seen in the wild)" do
    expect(subject).to eq "**.  \n \\*\\*\\* intentcast** : logo design   \n **.**\n\n"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reverse_markdown-1.0.0 spec/components/from_the_wild_spec.rb
reverse_markdown-0.8.2 spec/components/from_the_wild_spec.rb
reverse_markdown-0.8.1 spec/components/from_the_wild_spec.rb
reverse_markdown-0.8.0 spec/components/from_the_wild_spec.rb