Sha256: eb9ea58e32dbb626e65a003156a9b6f8b7ac576b76130693ac154135227516b3
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
# -*- encoding : utf-8 -*- describe Card::Set::Right::Structure do it "closed_content is rendered as type + raw" do template = Card.new(:name=>'A+*right+*structure', :content=>'[[link]] {{inclusion}}') template.format._render(:closed_content).should == '<a href="/Basic" class="cardtype">Basic</a> : [[link]] {{inclusion}}' end it "closed_content is rendered as type + raw" do template = Card.new(:name=>'A+*right+*structure', :type=>'Html', :content=>'[[link]] {{inclusion}}') template.format._render(:closed_content).should == '<a href="/HTML" class="cardtype">HTML</a> : [[link]] {{inclusion}}' end end
Version data entries
4 entries across 4 versions & 1 rubygems