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