Coerce a type that won't fail us later (damn you Moose)
Shawn M Moore [Mon, 22 Dec 2008 03:27:52 +0000 (03:27 +0000)]
t/800_shikabased/002-coerce_multi_class.t

index 4fb0128..b2d26b8 100644 (file)
@@ -68,9 +68,9 @@ eval {
     package Request;
     use Mouse::Util::TypeConstraints;
 
-    coerce 'Headers' =>
+    coerce 'Int' =>
         from 'XXX' => via {
-            Request::Headers->new(%{ $_ });
+            1
         },
     ;
 };