Sha256: ab71d916185bcb99280909fbe41d366ba5f58d173295318bfbed9655cb1fea35
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
require 'spec_helper' module RevealCK describe TemplateProcessor do let :slim_file do File.join Dir.pwd, 'spec', 'data', 'slim', 'basic.slim' end let :haml_file do File.join Dir.pwd, 'spec', 'data', 'haml', 'basic.haml' end let :pretty_printed_basic do /<p>\s+This is basic (Slim|Haml)\s+<\/p>/ end it 'can process a slim template' do processor = TemplateProcessor.open slim_file processor.output.should match pretty_printed_basic end it 'can process a haml template' do processor = TemplateProcessor.open haml_file processor.output.should match pretty_printed_basic end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reveal-ck-0.1.6 | spec/lib/reveal-ck/template_processor_spec.rb |
reveal-ck-0.1.5 | spec/lib/reveal-ck/template_processor_spec.rb |
reveal-ck-0.1.4 | spec/lib/reveal-ck/template_processor_spec.rb |