Sha256: 87f1cb87daefaddcb14e38856ec73ee80f2ca3881dea49715ae79c6a42504def
Contents?: true
Size: 792 Bytes
Versions: 1
Compression:
Stored size: 792 Bytes
Contents
require 'spec_helper' module RevealCK module Templates describe Processor do let :config do Config.new end let :slim_file do spec_data 'templates', 'processor', 'basic.slim' end let :haml_file do spec_data 'templates', 'processor', '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 = Processor.open file: slim_file, config: config processor.output.should match pretty_printed_basic end it 'can process a haml template' do processor = Processor.open file: haml_file, config: config processor.output.should match pretty_printed_basic end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reveal-ck-0.3.0 | spec/lib/reveal-ck/templates/processor_spec.rb |