Sha256: 359fb8c6e813dd02503f28a0c1e71c21d2119167e25c02b3ce30a0f8b4295723
Contents?: true
Size: 339 Bytes
Versions: 13
Compression:
Stored size: 339 Bytes
Contents
require 'tilt' require 'wlang/tilt' describe 'WLang integration with tilt' do it 'allows invoking tilt directly' do Tilt.new(hello_path.to_s).render(:who => "world").should eq("Hello world!") end it 'allows specifying the dialect' do Tilt.new(hello_path.to_s, :dialect => Upcasing).render.should eq("Hello WHO!") end end
Version data entries
13 entries across 13 versions & 1 rubygems