summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:54:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 23:54:48 +0100
commit677d37ee4cadd7991636aa43fa3919b1a8a9c619 (patch)
tree78f0a5bdd8c4b64cdbb9601e315b4dc3ca3dbf28 /spec/spec_helper.rb
parenta9da952f445958a4cc16a25abb50b930ac8da302 (diff)
downloadzorglub-677d37ee4cadd7991636aa43fa3919b1a8a9c619.zip
zorglub-677d37ee4cadd7991636aa43fa3919b1a8a9c619.tar.gz
spec: add Node#view spec
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fef8cd5..43c8af2 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -52,6 +52,10 @@ class Node0 < Zorglub::Node
def do_partial a1, a2
engine 'real'
end
+ def other_view
+ engine 'real'
+ view 'do_partial'
+ end
end
#
class Node1 < Zorglub::Node