summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 22:31:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 22:31:30 +0100
commit0464c6ec58614e428a595d8fc1c79641774afd4c (patch)
treec56bbfcd0e31bdc033cc53a66e7ae471bf4e1372 /spec
parent5123b14118b46424e7ed0df9af6bf4ca21a4284d (diff)
downloadzorglub-0464c6ec58614e428a595d8fc1c79641774afd4c.zip
zorglub-0464c6ec58614e428a595d8fc1c79641774afd4c.tar.gz
spec: call html within Node0#index
Diffstat (limited to 'spec')
-rw-r--r--spec/node_spec.rb1
-rw-r--r--spec/spec_helper.rb1
2 files changed, 1 insertions, 1 deletions
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'