spec/stache/handler_spec.rb in stache-0.0.2 vs spec/stache/handler_spec.rb in stache-0.0.3
- old
+ new
@@ -5,10 +5,10 @@
# def new_template(body = "<%= hello %>", details = {})
# ActionView::Template.new(body, "hello template", ERBHandler, {:virtual_path => "hello"}.merge!(details))
# end
before do
@template = ActionView::Template.new("{{body}}", "hello mustache", Stache::Handler, { :virtual_path => "hello_world"})
- @handler = Stache::Handler.new(@template)
+ @handler = Stache::Handler.new
end
describe "#mustache_class_from_template" do
it "returns the appropriate mustache class" do
class HelloWorld < Stache::View; end
\ No newline at end of file