Sha256: 3ff3f80894108422311b63ca1b3a7fa0605f1b9723bb596edbd60defdf350161

Contents?: true

Size: 307 Bytes

Versions: 7

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

describe Mdoc do
  describe '#find_doc_type' do
    it 'find markdown' do
      Mdoc.find_doc_type('some.md').should eq(Mdoc::Document::Kramdown)
      Mdoc.find_doc_type('some.markdown').should eq(Mdoc::Document::Kramdown)
    end

    it 'default to Document' do

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mdoc-0.0.11 spec/find_doc_type_spec.rb
mdoc-0.0.10 spec/find_doc_type_spec.rb
mdoc-0.0.9 spec/find_doc_type_spec.rb
mdoc-0.0.8 spec/find_doc_type_spec.rb
mdoc-0.0.7 spec/find_doc_type_spec.rb
mdoc-0.0.6 spec/find_doc_type_spec.rb
mdoc-0.0.5 spec/find_doc_type_spec.rb