diff options
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 5c3e2e2..66ff114 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -209,6 +209,12 @@ describe Zorglub do r.body[0].should == "<h1>Hello world</h1>\n" end # + 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') + end + # end # end |