X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=t%2Flib%2FTest%2FCatalyst%2FAction%2FREST%2FController%2FActions.pm;fp=t%2Flib%2FTest%2FCatalyst%2FAction%2FREST%2FController%2FActions.pm;h=905b700c195a0896107dee4d4dbae18e0dc18dd5;hp=86210fb610d3c7d9d728d88afe54a79e6c0e6026;hb=9e4398c862fc57d6f9d83f9c64ab3e5e858b9862;hpb=671b3a1fd09c29ad689a01a73c37fe299492830e diff --git a/t/lib/Test/Catalyst/Action/REST/Controller/Actions.pm b/t/lib/Test/Catalyst/Action/REST/Controller/Actions.pm index 86210fb..905b700 100644 --- a/t/lib/Test/Catalyst/Action/REST/Controller/Actions.pm +++ b/t/lib/Test/Catalyst/Action/REST/Controller/Actions.pm @@ -70,6 +70,13 @@ sub other_test_OPTIONS { $c->res->body('OPTIONS'); } +sub yet_other_test : Local : ActionClass('+Catalyst::Action::REST') {} + +sub yet_other_test_POST { + my ( $self, $c ) = @_; + $c->res->body('POST'); +} + sub end : Private {} # Don't need serialization.. 1;