Sha256: 0b49ffc98ee99ddcc113ef4f466647e8b12982845259f2f9dd0c342144926423
Contents?: true
Size: 291 Bytes
Versions: 15
Compression:
Stored size: 291 Bytes
Contents
require 'spec_helper' require 'wlang/html' module WLang describe Html, "${...}" do def render(tpl, scope = {}) Html.render(tpl, scope, "") end it 'escapes html' do hello = "<script>" render("${hello}", binding).should eq("<script>") end end end
Version data entries
15 entries across 15 versions & 1 rubygems