spec/kramdown/converter/man_spec.rb in kramdown-man-0.1.6 vs spec/kramdown/converter/man_spec.rb in kramdown-man-0.1.7
- old
+ new
@@ -1,7 +1,9 @@
# encoding: utf-8
-require 'spec_helper'
-require 'kramdown/converter/man'
+require_relative '../../spec_helper'
+
+# HACK: load our version of kramdown/converter/man.rb and not kramdown's
+require_relative '../../../lib/kramdown/converter/man'
describe Kramdown::Converter::Man do
let(:markdown) { File.read('man/kramdown-man.1.md') }
let(:doc) { Kramdown::Document.new(markdown) }
let(:root) { doc.root }