Changed ActionRole to ActionClass
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / ActionRole / TestMatchCaptures.pm
diff --git a/t/lib/TestApp/ActionRole/TestMatchCaptures.pm b/t/lib/TestApp/ActionRole/TestMatchCaptures.pm
deleted file mode 100644 (file)
index 3695ffe..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package TestApp::ActionRole::TestMatchCaptures;
-
-use Moose::Role;
-use namespace::autoclean;
-
-sub match_captures {
-    my ($self, $c, $cap) = @_;
-    if ($cap->[0] eq 'force') {
-        $c->res->header( 'X-TestAppActionTestMatchCaptures', 'forcing' );
-        return 1;
-    } else {
-        $c->res->header( 'X-TestAppActionTestMatchCaptures', 'fallthrough' );
-        return 0;
-    }
-}
-
-1;
\ No newline at end of file