Sha256: 367bbfa8e9df8e6d3f5233a2e96c8cad7773f6fa2c2f7c539de4063a701f9432
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 Bytes
Contents
require_relative '../spec_helper' require 'kramdown/man' describe Kramdown::Document, :integration do let(:man_dir) { File.expand_path('../../../man',__FILE__) } 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kramdown-man-0.1.8 | spec/kramdown/document_spec.rb |
kramdown-man-0.1.7 | spec/kramdown/document_spec.rb |