Split into new dist
[catagits/Catalyst-Action-Serialize-Data-Serializer.git] / t / lib / Test / Catalyst / Action / REST / Controller / Deserialize.pm
diff --git a/t/lib/Test/Catalyst/Action/REST/Controller/Deserialize.pm b/t/lib/Test/Catalyst/Action/REST/Controller/Deserialize.pm
deleted file mode 100644 (file)
index d7723e2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package Test::Catalyst::Action::REST::Controller::Deserialize;
-use Moose;
-use namespace::autoclean;
-
-BEGIN { extends 'Catalyst::Controller' }
-
-__PACKAGE__->config(
-    'action_args' => {
-        'test_action_args' => {
-            'deserialize_http_methods' => [qw(POST PUT OPTIONS DELETE GET)]
-        }
-    },
-    'stash_key' => 'rest',
-    'map'       => {
-        'text/x-yaml'        => 'YAML',
-        'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ],
-        'text/broken'        => 'Broken',
-    },
-);
-
-
-sub test :Local :ActionClass('Deserialize') {
-    my ( $self, $c ) = @_;
-    $c->res->output($c->req->data->{'kitty'});
-}
-
-sub test_action_args :Local :ActionClass('Deserialize') {
-    my ( $self, $c ) = @_;
-    $c->res->output($c->req->data->{'kitty'});
-}
-
-1;