added test files to MANIFEST
[catagits/Catalyst-View-TT.git] / t / 06includepath.t
1 use strict;
2 use warnings;
3 use Test::More tests => 5;
4
5 use FindBin;
6 use lib "$FindBin::Bin/lib";
7
8 use_ok('Catalyst::Test', 'TestApp');
9 my $response;
10
11 ok(($response = request("/test_includepath?view=Appconfig&template=testpath.tt&additionalpath=test_include_path"))->is_success, 'request ok');
12 is($response->content, TestApp->config->{default_message}, 'message ok');
13
14
15 ok(($response = request("/test_includepath?view=Includepath&template=testpath.tt"))->is_success, 'request ok');
16 is($response->content, TestApp->config->{default_message}, 'message ok');
17