From e5d9e300774bb83e5c85a4c672b399772f8db330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 3 Jan 2012 17:15:59 +0100 Subject: node_spec: add method level layout and view spec --- spec/data/layout/main.spec | 0 spec/spec_helper.rb | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 spec/data/layout/main.spec diff --git a/spec/data/layout/main.spec b/spec/data/layout/main.spec new file mode 100644 index 0000000..e69de29 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 -- cgit v1.1-2-g2b99