Sha256: 49065577d69a68ed827e8e652129594fc50858dcf73fe5cc3a9ed0d0c10c0e07

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

def render(text)
  Slodown::Formatter.new(text).complete.to_s
end

describe 'basic formatting syntax' do
  # Just a silly little spec to get things started. I don't intend
  # to test the whole of kramdown here. :)~
  #
  it "renders **this** as bold text" do
    expect(render "**foo**").to eq "<p><strong>foo</strong></p>"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slodown-0.1.3 spec/basic_formatting_spec.rb
slodown-0.1.2 spec/basic_formatting_spec.rb
slodown-0.1.1 spec/basic_formatting_spec.rb
slodown-0.1.0 spec/basic_formatting_spec.rb