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 6c83a13..23fd379 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -192,6 +192,13 @@ describe Zorglub do
vars.should == ['js0','js1']
vars[2].should be_nil
end
+ #
+ it "ext definition and file engine should work" do
+ r = Node0.my_call '/xml_file'
+ r.body[0]='<xml>file</xml>'
+ r = Node0.my_call '/plain_file'
+ r.body[0]='plain text'
+ end
end
#
end