summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 40ea901..cc665b7 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -105,6 +105,13 @@ describe Zorglub do
Node3.call( {'PATH_INFO'=>'/index'} )
Node3.after.should == 3
end
+ #
+ it "should find view and layout and render them" do
+ r = Node0.call( {'PATH_INFO'=>'/do_render'} )
+ r.status.should == 200
+ r.body[0].should == "layout_start view_content layout_end"
+ end
+ #
end
#
end