spec/stache/handlebars/handlebars_spec.rb in stache-1.0.3 vs spec/stache/handlebars/handlebars_spec.rb in stache-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Stache::Handlebars::Handler do
before do
- @template = ActionView::Template.new("{{body}}", "hello handlebars", Stache::Handlebars::Handler, { :virtual_path => "hello_world"})
+ @template = ActionView::Template.new("{{body}}", "hello handlebars", Stache::Handlebars::Handler, { virtual_path: "hello_world"})
@handler = Stache::Handlebars::Handler.new
end
describe "#handlebars_class_from_template" do
it "returns the appropriate handlebars class" do