r11835@t0mlaptop (orig r11800): t0m | 2009-11-12 00:32:30 +0000
[catagits/Catalyst-View-TT.git] / t / 11norequest.t
1 use strict;
2 use warnings;
3 use Test::More tests => 3;
4
5 use FindBin;
6 use lib "$FindBin::Bin/lib";
7
8 BEGIN { use_ok 'TestApp' or die }
9
10 ok my $tt = TestApp->view('TT'), 'Get TT view object';
11 is $tt->render(undef, 'test.tt', { message => 'hello' }), 'hello',
12     'render() should return the template output';