X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F06includepath.t;h=70001f5945e6f59268bfa8c0e2e8dec8b0c5064e;hb=9edfa94e9e9cd5688a16572e957e9f878ecc577e;hp=f2bea82ed813e6eb66fc049261d59eb063e8054c;hpb=e8693f1b49e4a6e4ea4b3a3f0c2e792f69415605;p=catagits%2FCatalyst-View-TT.git diff --git a/t/06includepath.t b/t/06includepath.t index f2bea82..70001f5 100644 --- a/t/06includepath.t +++ b/t/06includepath.t @@ -8,13 +8,13 @@ use lib "$FindBin::Bin/lib"; use_ok('Catalyst::Test', 'TestApp'); my $response; -my $inital_include_path = [ @{ TestApp->view('Appconfig')->include_path } ]; +my $inital_include_path = [ @{ TestApp->view('TT::Appconfig')->include_path } ]; ok(($response = request("/test_includepath?view=Appconfig&template=testpath.tt&additionalpath=test_include_path"))->is_success, 'additional_template_path request'); is($response->content, TestApp->config->{default_message}, 'additional_template_path message'); is_deeply($inital_include_path, - TestApp->view('Appconfig')->include_path, + TestApp->view('TT::Appconfig')->include_path, 'Include path is unchanged'); ok(($response = request("/test_includepath?view=Includepath&template=testpath.tt"))->is_success, 'scalar include path from config request');