summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/data/layout/main.spec0
-rw-r--r--spec/spec_helper.rb4
2 files changed, 4 insertions, 0 deletions
diff --git a/spec/data/layout/main.spec b/spec/data/layout/main.spec
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/spec/data/layout/main.spec
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