Sha256: 80cd35797a88a48233a812c03c743d48ed3b4cac332cb67f959d6e18168fe46c

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe AutoHtml::Markdown do
  it 'formats input using simple GFM rules' do
    expect(subject.call('*hello*')).to eq "<p><em>hello</em></p>\n"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auto_html-2.1.1 spec/auto_html/markdown_spec.rb
auto_html-2.1.0 spec/auto_html/markdown_spec.rb
auto_html-2.0.2 spec/auto_html/markdown_spec.rb