Sha256: f423ea446c5ad24af384ed5e84e7d90d29b64672aea11704e5a407c95a4b6be0
Contents?: true
Size: 317 Bytes
Versions: 7
Compression:
Stored size: 317 Bytes
Contents
require 'spec_helper' describe Mdoc::Processor::SmartCodeBlock do it 'delete extra blank lines' do doc = Mdoc::Document::Kramdown.new('spec/fixtures/README.md') doc.body.should match(/~{3,}\s*ruby\s*\n\n+/) doc.apply!('smart_code_block') doc.body.should_not match(/~{3,}\s*ruby\s*\n\n+/) end end
Version data entries
7 entries across 7 versions & 1 rubygems