projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
743f6b4
)
cannnot use single file app like this
John Napiorkowski [Fri, 24 Jul 2015 20:59:04 +0000 (15:59 -0500)]
t/body_fh.t
patch
|
blob
|
blame
|
history
diff --git
a/t/body_fh.t
b/t/body_fh.t
index
447794a
..
3b7f616
100644
(file)
--- 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);