File: 11norequest.t

package info (click to toggle)
libcatalyst-view-tt-perl 0.46-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 336 kB
  • sloc: perl: 710; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;
use Test::More tests => 3;

use FindBin;
use lib "$FindBin::Bin/lib";

BEGIN { use_ok 'TestApp' or die }

ok my $tt = TestApp->view, 'Get TT view object';
is $tt->render(undef, 'test.tt', { message => 'hello' }), 'hello',
    'render() should return the template output';