add extra test for Action and not just Private
[catagits/Catalyst-Action-Serialize-Data-Serializer.git] / t / lib / Test / Catalyst / Action / REST / Controller / Actions.pm
index 39a04a5..2612a4e 100644 (file)
@@ -20,7 +20,7 @@ sub test_GET : Private ActionClass('+Test::Action::Class') {
     $c->forward('ok');
 }
 
-sub test_POST :ActionClass('+Test::Action::Class') {
+sub test_POST : Action ActionClass('+Test::Action::Class') {
     my ( $self, $c ) = @_;
 
     $c->stash->{'entity'} .= " POST";