summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-09-05 10:42:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-09-05 10:42:17 +0200
commit9df17f5a8bcf80a2e2c0f00126347becbcc2f15e (patch)
treeb82b60b141e01c5e1009978b5db4f7da9189b79c /spec/spec_helper.rb
parentbdb5c8eea646e1a22b221e65436916e24563f140 (diff)
downloadzorglub-9df17f5a8bcf80a2e2c0f00126347becbcc2f15e.zip
zorglub-9df17f5a8bcf80a2e2c0f00126347becbcc2f15e.tar.gz
add spesc for Node#no_view!
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 5ff5dfb..2f5b3ac 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -76,6 +76,11 @@ class Node0 < Zorglub::Node
ext! 'txt'
mime! 'text/plain'
end
+ def no_view_no_layout
+ no_view!
+ no_layout!
+ 'hello world'
+ end
def engines name
no_layout!
case name