summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 00:06:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 00:06:04 +0100
commitd59dd4fd5d0bff373936380a11cad6072738c946 (patch)
treed84f46b9c3af4221484024ba24cd38e870cb4c80 /spec/spec_helper.rb
parentde8d3ab85a934eceab4ea77356ce80c1e5eb4220 (diff)
downloadzorglub-d59dd4fd5d0bff373936380a11cad6072738c946.zip
zorglub-d59dd4fd5d0bff373936380a11cad6072738c946.tar.gz
add Node#redirect spec
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 4c86527..f3e4941 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -56,6 +56,9 @@ class Node0 < Zorglub::Node
engine 'real'
view r('do_partial')
end
+ def do_redirect
+ redirect r(:do_partial,1,2,3)
+ end
end
#
class Node1 < Zorglub::Node