fixed test to use new way to init dispatch
John Napiorkowski [Thu, 25 Nov 2010 00:57:25 +0000 (19:57 -0500)]
t/post.t

index 1caa802..f7d8d80 100644 (file)
--- a/t/post.t
+++ b/t/post.t
@@ -10,7 +10,7 @@ use Test::More (
 {
   use Web::Simple 'PostTest';
   package PostTest;
-  dispatch {
+  sub dispatch_request {
     sub (%:foo=&:bar~) {
       $_[1]->{bar} ||= 'EMPTY';
       [ 200,