use inlined module hiding in tests
[catagits/Catalyst-Runtime.git] / t / aggregate / live_component_controller_action_chained2.t
1 use strict;
2 use warnings;
3 use FindBin qw/$Bin/;
4 use lib "$Bin/../lib";
5 use Catalyst::Test 'ChainedActionsApp';
6 use Test::More;
7
8 plan 'skip_all' if $ENV{CATALYST_SERVER}; # This is not TestApp
9
10 content_like('/', qr/Application Home Page/, 'Application home');
11 content_like('/15/GoldFinger', qr/List project GoldFinger pages/, 'GoldFinger Project Index');
12 content_like('/15/GoldFinger/4/007', qr/This is 007 page of GoldFinger project/, '007 page in GoldFinger Project');
13
14 content_like('/account', qr/New account o login/, 'no account');
15 content_like('/account/ferz', qr/This is account ferz/, '/account/ferz');
16 content_like('/account/123', qr/This is account 123/, '/account/123');
17 content_like('/account/profile/007/James Bond', qr/This is profile of James Bond/, 'account');
18
19 content_like('/downloads/', qr/This is download index/, 'downloads');
20
21 action_notfound('/c');
22
23 done_testing;
24