Sha256: 904fd83dd6a12b93f3d06e5f93c9ad719c8fe14cf6ebce1c27a8128c9cbb35f4

Contents?: true

Size: 299 Bytes

Versions: 13

Compression:

Stored size: 299 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'
  
describe Slippers::FileTemplate, " when rendering" do
  it "should read the template from a file" do
    template_file = Slippers::FileTemplate.new('spec/person_template.st')
    template_file.template.should eql('This is a $template$')
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
starapor-slippers-0.0.0 spec/file_template.rb
starapor-slippers-0.0.1 spec/file_template.rb
starapor-slippers-0.0.2 spec/file_template.rb
starapor-slippers-0.0.3 spec/file_template.rb
starapor-slippers-0.0.5 spec/file_template.rb
starapor-slippers-0.0.6 spec/file_template.rb
starapor-slippers-0.0.8 spec/file_template.rb
starapor-slippers-0.0.9 spec/file_template.rb
slippers-0.0.14 spec/file_template.rb
slippers-0.0.13 spec/file_template.rb
slippers-0.0.12 spec/file_template.rb
slippers-0.0.11 spec/file_template.rb
slippers-0.0.10 spec/file_template.rb