From 0464c6ec58614e428a595d8fc1c79641774afd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 3 Jan 2012 22:31:30 +0100 Subject: spec: call html within Node0#index --- spec/node_spec.rb | 1 - spec/spec_helper.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/node_spec.rb b/spec/node_spec.rb index e2372b8..84eb013 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -71,7 +71,6 @@ describe Zorglub do h[:view].should == vu end # - # it "layout proc, method level layout and engine definitions should work" do r = Node2.call( {'PATH_INFO'=>'/index'} ) r.status.should == 200 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a54aa6f..f5145f1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -26,6 +26,7 @@ end class Node0 < Zorglub::Node # default def index + html end def hello layout 'none' -- cgit v1.1-2-g2b99