Sha256: 95c48d56e13e206e33c2c2aedfddef301fefc4e8e1a30eb006289e9dbabb4aa1
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
require 'spec/helper' spec_require 'maruku' class SpecHelperMaruku < Ramaze::Controller map '/' helper :maruku def index maruku('# Hello') end end describe Ramaze::Helper::Maruku do behaves_like :rack_test it 'converts a markdown string to html' do get('/').body.should =~ /<h1 id=["']hello["']>Hello<\/h1>/ end end
Version data entries
8 entries across 8 versions & 3 rubygems