X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive__component_controller_action_chained2.t;h=199db81fd624e331ab6db5f4898d2ab825db52db;hb=d4f76f02f299906d23b02bb4bb4007de437a8747;hp=33679697b531048a29be17773df862960a9a73f1;hpb=dfe82bbd3149f6eda6f4f1d1665d1ed0b168a606;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 3367969..199db81 100644 --- a/t/aggregate/live__component_controller_action_chained2.t +++ b/t/aggregate/live__component_controller_action_chained2.t @@ -5,15 +5,17 @@ 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'); -TODO: { - local $TODO="Bug on precedence of dispatch order of chained actions."; - 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', 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'); + action_notfound('/c'); done_testing;