Sha256: a0bfdaa2fffe83ef5b7c70e85205e53761fcdaa6ce95726932080297143c3365
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' describe GhPreview::Converter do include GhPreview::Converter def markdown_content load_fixture('example.md') end def html_content load_fixture('example.html') end it 'should render markdown to html' do expect { to_html(markdown_content).to eq html_content } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gh-preview-1.0.2 | spec/lib/gh_preview/converter_spec.rb |
gh-preview-1.0.1 | spec/lib/gh_preview/converter_spec.rb |