Sha256: 43acac5331bf845e37c95edfc69a30f8d00ed194ee34808d547f102fc8f3df2e
Contents?: true
Size: 532 Bytes
Versions: 10
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' describe ReverseAsciidoctor do let(:input) { File.read('spec/assets/from_the_wild.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseAsciidoctor.convert(input) } it "should make sense of strong-crazy markup (as seen in the wild)" do expect(subject).to include "*. +\n \\*\\*\\* intentcast* : logo design *+*\n" end it "should not over escape * or _" do expect(subject).to include 'link:example.com/foo_bar[image::example.com/foo_bar.png[] I\_AM\_HELPFUL]' end end
Version data entries
10 entries across 10 versions & 2 rubygems