Sha256: a82cf042a757c126c674fe7409a1f91bd2e77591e8a4dc891e6c963ede3ee185
Contents?: true
Size: 447 Bytes
Versions: 7
Compression:
Stored size: 447 Bytes
Contents
describe "all attrs" do it "raises a RuntimeError if tag has an invalid attribute" do should.raise(RuntimeError) { actual { a.href('/href').src('file') { "here" } } }.message.should.match /:src not allowed to be set here/ end it "escapes attributes" do target %^<a rel="<hello">hello</a>^ actual { a.rel('<hello') { 'hello' } } end end # === describe all attrs
Version data entries
7 entries across 7 versions & 1 rubygems