X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_catalyst_test.t;fp=t%2Flive_catalyst_test.t;h=6f1bacc3bc1b2998f10b2130496749868d04f178;hp=0000000000000000000000000000000000000000;hb=38007d99db1774891d373242c86382e6f5cb083a;hpb=35e7b9bb9765d56baee39972d1311a06fd049ef9 diff --git a/t/live_catalyst_test.t b/t/live_catalyst_test.t new file mode 100644 index 0000000..6f1bacc --- /dev/null +++ b/t/live_catalyst_test.t @@ -0,0 +1,11 @@ +use FindBin; +use lib "$FindBin::Bin/lib"; +use Catalyst::Test 'TestApp'; + +use Test::More tests => 5; + +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'); +contenttype_is('/action/local/one','text/plain','Contenttype check'); \ No newline at end of file