summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:31:16 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:31:16 +0100
commit642da3156e03049ceae1e16d01f1c36457c59542 (patch)
treee443308a2f16132e58dc4da98759e62f9b686d09 /spec/node_spec.rb
parent91fe0ba6580c38643506350f9b43781a143fe3aa (diff)
downloadzorglub-642da3156e03049ceae1e16d01f1c36457c59542.zip
zorglub-642da3156e03049ceae1e16d01f1c36457c59542.tar.gz
spec: add partial spec
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index cc665b7..8d910a3 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -112,6 +112,10 @@ describe Zorglub do
r.body[0].should == "layout_start view_content layout_end"
end
#
+ it "partial should render correctly" do
+ Node0.partial(:do_partial, 1, 2).should == "view_content"
+ end
+ #
end
#
end