Sha256: 0e87528fd549f921c7ef059fe48c6282b1744672e56107ed3d9b9afb3db47d8c
Contents?: true
Size: 384 Bytes
Versions: 12
Compression:
Stored size: 384 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' require 'knife_skeleton/template' # Template tests module KnifeSkeleton describe 'Template.render' do it 'renders ERB template' do template = 'May the force be with <%= name %>.' data = { name: 'you' } output = Template.render(template, data) output.should == 'May the force be with you.' end end end
Version data entries
12 entries across 12 versions & 1 rubygems