Sha256: a5e805dcda97bffa4bf1dd3a943f25122d0803e7875f0d4192749a6f53736ab9

Contents?: true

Size: 419 Bytes

Versions: 20

Compression:

Stored size: 419 Bytes

Contents

require "spec_helper"

describe "Template" do
  it "should be javascript tempalate" do
    expect(Tilt["app.js"]).to eq Tilt::JavascriptTemplate
  end

  it "should be css template" do
    expect(Tilt["app.css"]).to eq Tilt::CSSTemplate
  end

  it "should be handlebars template" do
    expect(Tilt["app.hbs"]).to eq Tilt::HandlebarsTemplate
    expect(Tilt["app.handlebars"]).to eq Tilt::HandlebarsTemplate
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
linner-hc-1.0.0 spec/linner/template_spec.rb
linner-0.12.0 spec/linner/template_spec.rb
linner-0.11.6 spec/linner/template_spec.rb
linner-0.11.5 spec/linner/template_spec.rb
linner-0.11.4 spec/linner/template_spec.rb
linner-0.11.3 spec/linner/template_spec.rb
linner-0.11.2 spec/linner/template_spec.rb
linner-0.11.1 spec/linner/template_spec.rb
linner-0.11.0 spec/linner/template_spec.rb
linner-0.10.0 spec/linner/template_spec.rb
linner-0.9.1 spec/linner/template_spec.rb
linner-0.9.0 spec/linner/template_spec.rb
linner-0.8.7 spec/linner/template_spec.rb
linner-0.8.6 spec/linner/template_spec.rb
linner-0.8.5 spec/linner/template_spec.rb
linner-0.8.4 spec/linner/template_spec.rb
linner-0.8.3 spec/linner/template_spec.rb
linner-0.8.2 spec/linner/template_spec.rb
linner-0.8.1 spec/linner/template_spec.rb
linner-0.8.0 spec/linner/template_spec.rb