Sha256: 72dd002869c01bd20a8313247599fd532e7e312025c56841b66d0eadac99fedf

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 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

1 entries across 1 versions & 1 rubygems

Version Path
gh-preview-1.0.0 spec/lib/gh_preview/converter_spec.rb