Unify options, get rid of -h which only worked on the CGI script anyway (-h is host...
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_dispatcher_chained_action.t
index 7a7a278..213294a 100644 (file)
@@ -1,13 +1,17 @@
-# Test case for Chained Actions
-
-#
-
 use strict;
 use warnings;
 use FindBin qw/$Bin/;
 use lib "$Bin/../lib";
 use Catalyst::Test 'ChainedActionsApp';
-use Test::More tests => 2;
+use Test::More;
 
 content_like('/', qr/Application Home Page/, 'Application home');
+content_like('/15/GoldFinger', qr/List project GoldFinger pages/, 'GoldFinger Project Index');
+content_like('/15/GoldFinger/4/007', qr/This is 007 page of GoldFinger project/, '007 page in GoldFinger Project');
+content_like('/account', qr/New account o login/, 'no account');
+content_like('/account/ferz', qr/This is account ferz/, 'account');
 content_like('/account/123', qr/This is account 123/, 'account');
+action_notfound('/c');
+
+done_testing;
+