diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-16 15:48:04 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-16 15:48:04 +0100 |
commit | 481649ad3dc4e29af5fcdeaa4331fb4c1aff349c (patch) | |
tree | ea18dfe488916cfd09bc62451d9ebf40970ab2f5 /spec/node_spec.rb | |
parent | 66501cb0e23f40ea5ae1fe6185b23ffcb3d55de4 (diff) | |
download | zorglub-481649ad3dc4e29af5fcdeaa4331fb4c1aff349c.zip zorglub-481649ad3dc4e29af5fcdeaa4331fb4c1aff349c.tar.gz |
add layout_base_path! specs
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 66ff114..279ec2b 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -212,7 +212,13 @@ describe Zorglub do it "view_base_path! should work" do r = Node7.my_call '/view_path' h = YAML.load r.body[0] - h[:view].should == File.join(Zorglub::Config.root, 'alt/do_render') + h[:view].should == File.join(Zorglub::Config.root, 'alt','do_render') + end + # + it "layout_base_path! should work" do + r = Node7.my_call '/view_path' + h = YAML.load r.body[0] + h[:layout].should == File.join(Zorglub::Config.root, 'alt','layout','default') end # end |