diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 17:15:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 17:15:59 +0100 |
commit | e5d9e300774bb83e5c85a4c672b399772f8db330 (patch) | |
tree | 26d54e2c36f3c0a220f1d94e5d3eee8929bc7ea3 | |
parent | 36e622233952e410396daee4ba64ddcb60145685 (diff) | |
download | zorglub-e5d9e300774bb83e5c85a4c672b399772f8db330.zip zorglub-e5d9e300774bb83e5c85a4c672b399772f8db330.tar.gz |
node_spec: add method level layout and view spec
-rw-r--r-- | spec/data/layout/main.spec | 0 | ||||
-rw-r--r-- | spec/spec_helper.rb | 4 |
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 |