Sha256: 6f736ed0098298e9e3a8882798f922d82dedfe9f488f6c45d03099b19aff65e8
Contents?: true
Size: 351 Bytes
Versions: 13
Compression:
Stored size: 351 Bytes
Contents
require 'spec_helper' describe ReverseMarkdown do let(:input) { File.read('spec/assets/quotation.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseMarkdown.convert(input) } it { is_expected.to match /^ Block of code$/ } it { is_expected.to include "\n> First quoted paragraph\n> \n> Second quoted paragraph" } end
Version data entries
13 entries across 13 versions & 1 rubygems