summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
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]