summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 14:17:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 14:17:37 +0100
commitcddb168e3188a0d4c04f900898f77ad9584c2f4e (patch)
tree398323e1c80e88bbc61d674ef653a2345812de2f /spec/spec_helper.rb
parent71907c734febd304333be1c921402f155dcaa11d (diff)
downloadzorglub-cddb168e3188a0d4c04f900898f77ad9584c2f4e.zip
zorglub-cddb168e3188a0d4c04f900898f77ad9584c2f4e.tar.gz
Node: set view\!
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 76a8638..90bfc10 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -65,7 +65,7 @@ class Node0 < Zorglub::Node
end
def other_view
engine! 'real'
- view r('do_partial')
+ view! r('do_partial')
end
def do_redirect
redirect r(:do_partial,1,2,3)
@@ -153,13 +153,13 @@ class Node6 < Zorglub::Node
def no_static
static false
engine! 'static'
- view Node0.r('do_render')
+ view! Node0.r('do_render')
Node6.static_cpt+=1
@value = Node6.static_cpt
end
def do_static
engine! 'static'
- view Node0.r('do_render')
+ view! Node0.r('do_render')
Node6.static_cpt+=1
@value = Node6.static_cpt
end