diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-05 10:42:17 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-05 10:42:17 +0200 |
commit | 9df17f5a8bcf80a2e2c0f00126347becbcc2f15e (patch) | |
tree | b82b60b141e01c5e1009978b5db4f7da9189b79c /spec/node_spec.rb | |
parent | bdb5c8eea646e1a22b221e65436916e24563f140 (diff) | |
download | zorglub-9df17f5a8bcf80a2e2c0f00126347becbcc2f15e.zip zorglub-9df17f5a8bcf80a2e2c0f00126347becbcc2f15e.tar.gz |
add spesc for Node#no_view!
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 061c6a5..3b2ecc3 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -257,6 +257,11 @@ describe Zorglub do r.header['Content-type'].should == 'text/plain' end # + it "no view no layout should work as well" do + r = Node0.my_call '/no_view_no_layout' + r.body[0].should == "hello world" + end + # it "haml engine should work" do Node0.app.opt! :engines_cache_enabled, false r = Node0.my_call '/engines/haml' |