Sha256: 98a71917dca2e2077d7780a07799c3d953fc0e53977244c73ac568863a3e250c
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 Bytes
Contents
require 'spec_helper' describe ReverseAdoc do let(:input) { File.read('spec/assets/paragraphs.html') } let(:document) { Nokogiri::HTML(input) } subject { ReverseAdoc.convert(input) } it { is_expected.not_to start_with "\n\n" } it { is_expected.to start_with "First content\n\nSecond content\n\n" } it { is_expected.to include "\n\n_Complex_\n\n\.\.\.\.\n\n Content\n" } it { is_expected.to include "*Trailing whitespace:*" } it { is_expected.to include "*Trailing non-breaking space: *" } it { is_expected.to include "*_Combination: _*" } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reverse_adoc-0.3.7 | spec/components/paragraphs_spec.rb |
reverse_adoc-0.3.6 | spec/components/paragraphs_spec.rb |