Sha256: 1022ee8d308d38db0fe382c5bfec32e6e914aa16be2a250d3fa5a169f896a764
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
require "spec_helper" describe Template do describe :templates do it "should be javascript tempalate" do Tilt["app.js"].should == Tilt::JavascriptTemplate end it "should be css template" do Tilt["app.css"].should == Tilt::CSSTemplate end it "should tempalte for script" do Template.template_for_script? "app.js".should be_true Template.template_for_script? "app.coffee".should be_true end it "should tempalte for style" do Template.template_for_style? "app.css".should be_true Template.template_for_style? "app.sass".should be_true Template.template_for_style? "app.scss".should be_true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
linner-0.1.1 | spec/linner/template_spec.rb |