X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_catalyst_test.t;h=8831fe72c8f34a899fdcec057524fed8b258d54d;hb=990899d8c82b60748d5b4efa0d9ef3c9480104de;hp=1adecbbfbbceee500347db14ba646f480e54bcb9;hpb=9c74923de2304b8c8f0a7a2faa0854ad9b4d3a92;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_catalyst_test.t b/t/live_catalyst_test.t index 1adecbb..8831fe7 100644 --- a/t/live_catalyst_test.t +++ b/t/live_catalyst_test.t @@ -1,14 +1,21 @@ +use strict; +use warnings; + use FindBin; use lib "$FindBin::Bin/lib"; use Catalyst::Test 'TestApp', {default_host => 'default.com'}; use Catalyst::Request; -use Test::More tests => 9; +use Test::More tests => 10; content_like('/',qr/root/,'content check'); action_ok('/','Action ok ok','normal action ok'); action_redirect('/engine/response/redirect/one','redirect check'); action_notfound('/engine/response/status/s404','notfound check'); + +# so we can see the default test name +action_ok('/'); + contenttype_is('/action/local/one','text/plain','Contenttype check'); ### local_request() was not setting response base from base href