Sha256: 4bf523b0f1fdab21fd7465ff0bdb12691ebcec7b038d28643b3dff819acd78a8
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 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 Block of code$/ } it { is_expected.to include "\n____\nFirst quoted paragraph\n\nSecond quoted paragraph\n____\n" } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reverse_adoc-0.3.7 | spec/components/quotation_spec.rb |
reverse_adoc-0.3.6 | spec/components/quotation_spec.rb |