Add support for running render without a context
[catagits/Catalyst-View-TT.git] / trunk / t / 11norequest.t
CommitLineData
8cff6b81 1use strict;
2use warnings;
f42c8153 3use Test::More tests => 3;
8cff6b81 4
5use FindBin;
6use lib "$FindBin::Bin/lib";
7
8BEGIN { use_ok 'TestApp' or die }
9
f42c8153 10ok my $tt = TestApp->view('TT'), 'Get TT view object';
11is $tt->render(undef, 'test.tt', { message => 'hello' }), 'hello',
8cff6b81 12 'render() should return the template output';