require 'spec_helper' describe Jackb::Markdown do it 'should render the content from markdown to html' do format = Jackb::Markdown.new('My **test**') format.render.should eql("
My test
\n") end it 'should highlight the code' do Jackb::Markdown.new("Hey!\n\n <%= \"test\" %>").render. should eql("Hey!
\n\n#{Albino.new('<%= "test" %>', :ruby).to_s}\n\n") end end