summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-06 10:07:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-06 10:07:38 +0100
commit8dd007b3978d855ee3984b3c3f59b3eb4281b8fa (patch)
tree6c7137fb9db8aa5b64935c7865139bc5554cf428 /spec/node_spec.rb
parentdf5e1a8e31104b6cb92689c3d82b0c47b77230f1 (diff)
downloadzorglub-8dd007b3978d855ee3984b3c3f59b3eb4281b8fa.zip
zorglub-8dd007b3978d855ee3984b3c3f59b3eb4281b8fa.tar.gz
fix haml engine, add spec
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 701c700..3e1c957 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -199,6 +199,12 @@ describe Zorglub do
r = Node0.my_call '/plain_file'
r.body[0].should == "plain file\n"
end
+ #
+ it "haml engine should work" do
+ r = Node0.my_call '/engines/haml'
+ r.body[0].should == "<h1>Hello world</h1>\n"
+ end
+ #
end
#
end