Sha256: a8618bc113f313d89f1e4e839e7cb716de81cbdd1f4d0017e8b4e85b0bba7028
Contents?: true
Size: 328 Bytes
Versions: 15
Compression:
Stored size: 328 Bytes
Contents
require 'spec_helper' require 'wlang/html' module WLang describe Html, '/{...}' do def render(tpl, scope = {}) Html.render(tpl, scope, "") end it 'does not render anything' do scope = {:who => "World"} render('Hello /{ a comment } World!', binding).should eq("Hello World!") end end end
Version data entries
15 entries across 15 versions & 1 rubygems