4 # For reported: https://rt.cpan.org/Ticket/Display.html?id=97948
7 package MyApp::Controller::Root;
8 $INC{'MyApp/Controller/Root.pm'} = __FILE__;
10 use base 'Catalyst::Controller';
12 sub example :Local Args(0) {
13 pop->stash->{testing1} = 'testing2';
23 use Catalyst::Test 'MyApp';
25 my ($res, $c) = ctx_request('/root/example');
26 is $c->stash->{testing1}, 'testing2', 'got expected stash value';