Sha256: c15f8ae1abfc2b96833c600e4836e44ba711afcbc4f92bf6d1524959cfccb13f
Contents?: true
Size: 405 Bytes
Versions: 7
Compression:
Stored size: 405 Bytes
Contents
# -*- encoding : utf-8 -*- require 'wagn/spec_helper' describe Card::Chunk::EscapedLiteral, "literal chunk tests" do it "should handle escaped link" do render_content('write this: \[[text]]').should == 'write this: <span>[</span>[text]]' end it "should handle escaped inclusion" do render_content('write this: \{{cardname}}').should == 'write this: <span>{</span>{cardname}}' end end
Version data entries
7 entries across 7 versions & 1 rubygems