the class used to create the TT object can now be customized
[catagits/Catalyst-View-TT.git] / t / 10providers.encoding.t
CommitLineData
6175bba7 1use strict;
2use warnings;
3use Test::More;
4
5eval "use Template::Provider::Encoding";
6if ($@) {
7 plan skip_all => 'Template::Provider::Encoding';
8} else {
9 plan tests => 3;
10}
11
12use FindBin;
13use lib "$FindBin::Bin/lib";
14
15use_ok('Catalyst::Test', 'TestApp');
16
17my $response;
18ok(($response = request("/test_includepath?view=Encoding&template=test.tt&additionalpath=test_include_path"))->is_success, 'provider request');
19cmp_ok($response->content, 'eq', 'hi', 'provider worked');
20