Sha256: 4d788a54143d98a5938a92c5f5ffa246ea78c019e6efe76599187c1e5986bc3c
Contents?: true
Size: 577 Bytes
Versions: 7
Compression:
Stored size: 577 Bytes
Contents
require ::File.expand_path( ::File.join(::File.dirname(__FILE__), %w[.. .. spec_helper])) # --------------------------------------------------------------------------- describe 'Webby::Filters::Textile' do it 'should regsiter the textile filter handler' do Webby::Filters._handlers['textile'].should_not be_nil end it 'processes textile markup into HTML' do input = "p(foo). this is a paragraph of text" output = Webby::Filters._handlers['textile'].call(input) output.should == %q{<p class="foo">this is a paragraph of text</p>} end end # EOF
Version data entries
7 entries across 7 versions & 2 rubygems