Sha256: cd9dd1faa8523559f7a2e0ba5c8727717aec1947d6410c0ea8afb13e95b82748
Contents?: true
Size: 563 Bytes
Versions: 2
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::Man::Converter.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-1.0.1 | spec/integration_spec.rb |
kramdown-man-1.0.0 | spec/integration_spec.rb |