Sha256: c1a244f7c3723dc5be8684b249c6fb376e3c90b60e2cb4db8c90d162890317be
Contents?: true
Size: 418 Bytes
Versions: 8
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' describe ReverseMarkdown::Mapper do let(:input) { File.read('spec/assets/from_the_wild.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseMarkdown.parse_string(input) } it "should make sense of strong-crazy markup (as seen in the wild)" do subject.should == '** .' + " \n" + '\*\*\* intentcast ** : logo design' + " \n" + '** . **' end end
Version data entries
8 entries across 8 versions & 1 rubygems