Sha256: f4d943c5e6703c0915c0e407d558d21d144f3ef97cae2c827b3fa5bf00a5d1fe
Contents?: true
Size: 312 Bytes
Versions: 15
Compression:
Stored size: 312 Bytes
Contents
require 'spec_helper' require 'wlang/html' module WLang describe Html, "%{...}" do def render(tpl, scope = {}) Html.render(tpl, scope, "") end it 'disables wlang inside the block' do who = "World" render("%{Hello ${who}!}", binding).should eq("Hello ${who}!") end end end
Version data entries
15 entries across 15 versions & 1 rubygems