Fix TODO tests.
Tomas Doran [Wed, 28 Jul 2010 22:26:21 +0000 (22:26 +0000)]
t/aggregate/unit_core_engine_cgi-prepare_path.t
t/unit_core_methodattributes_method_metaclass_on_subclasses.t

index d17cd98..d5cdc58 100644 (file)
@@ -87,7 +87,6 @@ use Catalyst::Engine::CGI;
 }
 
 {
-    local $TODO = 'Another mod_rewrite case';
     my $r = get_req (0,
         PATH_INFO => '/auth/login',
         SCRIPT_NAME => '/tx',
index 32e8037..b6f5054 100644 (file)
@@ -20,7 +20,10 @@ foreach my $class (qw/ CT RT /) {
     my $class_name = 'NoAttributes::' . $class;
     my $meta = $class_name->meta;
     my $meth = $meta->find_method_by_name('test');
-    ok $meth->can('attributes'), 'method metaclass has ->attributes method for ' . $class;;
+    {
+        local $TODO = "Known MX::MethodAttributes issue";
+        ok $meth->can('attributes'), 'method metaclass has ->attributes method for ' . $class;;
+    }
 }
 
 done_testing;