copy_config support
[catagits/Catalyst-View-TT.git] / t / 09providers.t
index e42216c..0a70320 100644 (file)
@@ -1,6 +1,6 @@
 use strict;
 use warnings;
-use Test::More tests => 3;
+use Test::More tests => 5;
 
 use FindBin;
 use lib "$FindBin::Bin/lib";
@@ -9,4 +9,8 @@ use_ok('Catalyst::Test', 'TestApp');
 
 my $response;
 ok(($response = request("/test_includepath?view=Providerconfig&template=test.tt"))->is_success, 'provider request');
-cmp_ok($response->content, 'eq', 'Faux-tastic!', 'provider worked');
\ No newline at end of file
+cmp_ok($response->content, 'eq', 'Faux-tastic!', 'provider worked');
+
+
+ok(($response = request("/test_includepath?view=Providerconfig&template=testpath.tt&additionalpath=test_include_path"))->is_success, 'provider request');
+cmp_ok($response->content, 'eq', 'Faux-tastic!', 'provider worked');