Sha256: 8f5bf1dd3193b870864ab4599be5194e210ca19a26ca4b2714e43bc1704a0abd
Contents?: true
Size: 378 Bytes
Versions: 8
Compression:
Stored size: 378 Bytes
Contents
require 'spec_helper' describe ReverseMarkdown::Mapper do let(:input) { File.read('spec/assets/paragraphs.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseMarkdown.parse_string(input) } it { should_not start_with "\n\n" } it { should start_with "First content\n\nSecond content\n\n" } it { should include "\n\n_Complex_\n\n Content" } end
Version data entries
8 entries across 8 versions & 1 rubygems