X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive__component_controller_action_chained2.t;h=84d54cec99424ce72e5818a2e778fc0c45e08595;hb=bcc7361a26b0c7a55eb6b4d49d4622367b12f809;hp=213294aa301be59e32a608fae6cc6483b16de900;hpb=34ff7cb5029ba62ab821542c67b8e9b33153abe3;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/live__component_controller_action_chained2.t b/t/aggregate/live__component_controller_action_chained2.t index 213294a..84d54ce 100644 --- a/t/aggregate/live__component_controller_action_chained2.t +++ b/t/aggregate/live__component_controller_action_chained2.t @@ -5,12 +5,22 @@ use lib "$Bin/../lib"; use Catalyst::Test 'ChainedActionsApp'; use Test::More; +plan 'skip_all' if $ENV{CATALYST_SERVER}; # This is not TestApp + 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'); +content_like('/account/profile/007/James Bond', qr/This is profile of James Bond/, 'account'); + +TODO: { + local $TODO = q(new chained action test case that fails yet.); + content_like('/downloads/', qr/This is downloads index/, 'downloads'); +} + action_notfound('/c'); done_testing;