require 'spec_helper' describe MarkdownHelper do describe '#markdown' do it 'renders HTML from a markdown text' do markdown('# Header').should =~ /