Sha256: c3f6ebb0264ca7bbc0e22608da5d749a8506a0602c3904e7ddd7fc396cc66afd
Contents?: true
Size: 368 Bytes
Versions: 7
Compression:
Stored size: 368 Bytes
Contents
require 'spec_helper' describe ReverseAdoc do let(:input) { File.read('spec/assets/quotation.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseAdoc.convert(input) } it { is_expected.to match /\n <code>Block of code<\/code>$/ } it { is_expected.to include "\n____\nFirst quoted paragraph\n\nSecond quoted paragraph\n____\n" } end
Version data entries
7 entries across 7 versions & 1 rubygems