Sha256: a689fbab3577ba2986969b5ef1c1e53651c3750f85fc811bcfdc8ca13cefbb48
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
require 'spec_helper' describe Jack::Html do it 'should render the content from markdown to html' do format = Jack::Markdown.new('My **test**') format.render.should eql("<p>My <strong>test</strong></p>\n") end it 'should highlight the code' do Jack::Markdown.new("Hey!\n\n <%= \"test\" %>").render. should eql("<p>Hey!</p>\n\n#{Albino.new('<%= "test" %>', :ruby).to_s}\n") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jackb-0.0.3 | spec/lib/markdown_spec.rb |
jackb-0.0.2 | spec/lib/markdown_spec.rb |
jackb-0.0.1 | spec/lib/markdown_spec.rb |