X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F06includepath.t;fp=t%2F06includepath.t;h=c376a8e0c856f4a690e057ab022732c8fd958277;hb=8d236c8c1d777b019c93726f0ad8bec000052690;hp=0da5a8fc2ffcd5b46f933ca0641d0c5cee8209b8;hpb=3cf1e0a63500805707cbfd78bba1d325941e0bde;p=catagits%2FCatalyst-View-TT.git diff --git a/t/06includepath.t b/t/06includepath.t index 0da5a8f..c376a8e 100644 --- a/t/06includepath.t +++ b/t/06includepath.t @@ -8,15 +8,15 @@ use lib "$FindBin::Bin/lib"; use_ok('Catalyst::Test', 'TestApp'); my $response; -ok(($response = request("/test_includepath?view=Appconfig&template=testpath.tt&additionalpath=test_include_path"))->is_success, 'additional_template_path'); -is($response->content, TestApp->config->{default_message}, 'message ok'); +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'); -ok(($response = request("/test_includepath?view=Includepath&template=testpath.tt"))->is_success, 'scalar include path from config'); -is($response->content, TestApp->config->{default_message}, 'message ok'); +ok(($response = request("/test_includepath?view=Includepath&template=testpath.tt"))->is_success, 'scalar include path from config request'); +is($response->content, TestApp->config->{default_message}, 'scalar include path with delimiter from config message'); -ok(($response = request("/test_includepath?view=Includepath2&template=testpath.tt"))->is_success, 'object ref (that stringifys to the path) include path from config'); -is($response->content, TestApp->config->{default_message}, 'message ok'); +ok(($response = request("/test_includepath?view=Includepath2&template=testpath.tt"))->is_success, 'object ref (that stringifys to the path) include path from config request'); +is($response->content, TestApp->config->{default_message}, 'object ref (that stringifys to the path) include path from config message'); -ok(($response = request("/test_includepath?view=Includepath3&template=testpath.tt&addpath=test_include_path"))->is_success, 'array ref include path from config not replaced by another array'); -is($response->content, TestApp->config->{default_message}, 'message ok'); +ok(($response = request("/test_includepath?view=Includepath3&template=testpath.tt&addpath=test_include_path"))->is_success, 'array ref include path from config not replaced by another array request'); +is($response->content, TestApp->config->{default_message}, 'array ref include path from config not replaced by another array message');