Sha256: 5a250418ad96adec946658d6b93f3ec51110a286e5c24d8664fc7787a4d43e2b
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' require 'kramdown/man' describe Kramdown::Document, :integration do let(:man_dir) { File.expand_path('../man',__dir__) } let(:markdown_path) { File.join(man_dir,'kramdown-man.1.md') } let(:markdown) { File.read(markdown_path) } subject { described_class.new(markdown) } describe "#to_man" do it "must return the same output as Kramdown::Converter::Man" do output, warnings = Kramdown::Converter::Man.convert(subject.root) expect(subject.to_man).to be == output end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kramdown-man-0.1.9 | spec/document_spec.rb |