Sha256: 0d71e3a3f475b3d2690e4d4d584112e43aea70e71ccce17f751f0c714e774e5c
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 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>\n" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slodown-0.4.0 | spec/basic_formatting_spec.rb |
slodown-0.3.0 | spec/basic_formatting_spec.rb |
slodown-0.2.0 | spec/basic_formatting_spec.rb |