summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-16 14:05:05 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-16 14:05:05 +0100
commita9e7b5c1710c5dc5d9f91c4990e0cfa3beee3174 (patch)
tree8a0f0cb4713bc64c3714318a904c9de7b821817e /spec/node_spec.rb
parent9d964f953f9aedf9362841207683ad0a47e88f30 (diff)
downloadzorglub-a9e7b5c1710c5dc5d9f91c4990e0cfa3beee3174.zip
zorglub-a9e7b5c1710c5dc5d9f91c4990e0cfa3beee3174.tar.gz
Node: remove layout! parameter checks
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 3e1c957..5c3e2e2 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -172,6 +172,10 @@ describe Zorglub do
r.header['location'].should == Node0.r(:do_partial,1,2,3)
end
#
+ it "no_layout! should be inherited" do
+ Node5.layout.should be_nil
+ end
+ #
it "inherited_vars should be inherited and extended" do
r = Node5.my_call '/index'
vars = YAML.load r.body[0]