9 use Catalyst::Test 'TestApp';
12 package TestApp::Controller::Action::Chained;
13 sub should_fail : Chained('/') Chained('foo') Args(0) {}
17 eval { TestApp->setup_actions; };
18 ok($@, 'Multiple chained attributes make action setup fail');
21 package TestApp::Controller::Action::Chained;
22 no warnings 'redefine';
27 eval { TestApp->setup_actions };
28 ok(!$@, 'And ok again') or warn $@;