# body BUT not so quickly that we fail to calculate the length. This test
# exists mainly to prevent regressions.
-{
+{
package MyApp::Controller::Root;
+ $INC{'MyApp/Controller/Root.pm'} = __FILE__;
use base 'Catalyst::Controller';
package MyApp;
use Catalyst;
- MyApp->setup;
+ Test::More::ok(MyApp->setup, 'setup app');
}
-$INC{'MyApp/Controller/Root.pm'} = __FILE__;
-Test::More::ok(MyApp->setup);
ok my $psgi = MyApp->psgi_app, 'build psgi app';