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.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