Sha256: 4b7f00de6cc78cbe8222d5efd717ceb633521edcc3886462596cef2fca26f0cb
Contents?: true
Size: 488 Bytes
Versions: 26
Compression:
Stored size: 488 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe TextileFilter do it "should be named Textile" do TextileFilter.filter_name.should == "Textile" end it "should filter text according to Textile rules" do TextileFilter.filter('h1. Test').should == '<h1>Test</h1>' end end describe "<r:textile>" do dataset :pages it "should filter its contents with Textile" do pages(:home).should render("<r:textile>h1. Test</r:textile>").as("<h1>Test</h1>") end end
Version data entries
26 entries across 26 versions & 5 rubygems