spec/linner/template_spec.rb in linner-0.7.3 vs spec/linner/template_spec.rb in linner-0.8.0
- old
+ new
@@ -1,17 +1,16 @@
require "spec_helper"
describe "Template" do
-
it "should be javascript tempalate" do
- Tilt["app.js"].should == Tilt::JavascriptTemplate
+ expect(Tilt["app.js"]).to eq Tilt::JavascriptTemplate
end
it "should be css template" do
- Tilt["app.css"].should == Tilt::CSSTemplate
+ expect(Tilt["app.css"]).to eq Tilt::CSSTemplate
end
it "should be handlebars template" do
- Tilt["app.hbs"].should == Tilt::HandlebarsTemplate
- Tilt["app.handlebars"].should == Tilt::HandlebarsTemplate
+ expect(Tilt["app.hbs"]).to eq Tilt::HandlebarsTemplate
+ expect(Tilt["app.handlebars"]).to eq Tilt::HandlebarsTemplate
end
end