9a562b0fda20e248f99a467a0716130435db8cb7
[catagits/Catalyst-View-TT.git] / t / 11norequest.t
1 use strict;
2 use warnings;
3 use Test::More tests => 4;
4
5 use FindBin;
6 use lib "$FindBin::Bin/lib";
7
8 BEGIN { use_ok 'TestApp' or die }
9
10 ok my $c  = TestApp->new, 'Instantiate app object';
11 ok my $tt = $c->view('TT'), 'Get TT view object';
12 is $tt->render($c, 'test.tt', { message => 'hello' }), 'hello',
13     'render() should return the template output';