X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbody_fh.t;h=3b7f61608b8400560b5bf699c966da77640fa1dc;hb=a1dba4cf60acfe8c592a80dad86a076cd3eb1dec;hp=447794a76627dcbd2670d264e072ba8dba92ec49;hpb=7af15a33a6d54bdd91fe1635612c54fe026694bc;p=catagits%2FCatalyst-Runtime.git diff --git a/t/body_fh.t b/t/body_fh.t index 447794a..3b7f616 100644 --- a/t/body_fh.t +++ b/t/body_fh.t @@ -40,12 +40,14 @@ use Plack::Util; $c->res->body('manual_write'); } + $INC{'MyApp/Controller/Root.pm'} = __FILE__; # sorry... + package MyApp; use Catalyst; } -$INC{'MyApp/Controller/Root.pm'} = '1'; # sorry... + ok(MyApp->setup); ok(my $psgi = MyApp->psgi_app);