11 use Catalyst::Test 'TestApp';
14 package TestApp::Controller::Action::Chained;
15 sub should_fail : Chained('/') Chained('foo') Args(0) {}
19 eval { TestApp->setup_actions; };
20 ok($@, 'Multiple chained attributes make action setup fail');
23 package TestApp::Controller::Action::Chained;
24 no warnings 'redefine';
29 eval { TestApp->setup_actions };
30 ok(!$@, 'And ok again') or warn $@;