summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:15:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:15:59 +0100
commite5d9e300774bb83e5c85a4c672b399772f8db330 (patch)
tree26d54e2c36f3c0a220f1d94e5d3eee8929bc7ea3 /spec/spec_helper.rb
parent36e622233952e410396daee4ba64ddcb60145685 (diff)
downloadzorglub-e5d9e300774bb83e5c85a4c672b399772f8db330.zip
zorglub-e5d9e300774bb83e5c85a4c672b399772f8db330.tar.gz
node_spec: add method level layout and 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 cf6af3a..fd3e951 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -48,6 +48,10 @@ end
class Node2 < Zorglub::Node
layout 'spec-layout-2'
engine 'spec-engine-2'
+ def index
+ layout 'main'
+ engine 'spec-engine-1'
+ end
end
#
class Node3 < Node2