X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTest%2FCatalyst%2FAction%2FREST%2FController%2FREST.pm;h=2cc7d46a7dfcf057d389bc4c12a98c5341e988e2;hb=0aceaa9b2904e416d51628255406801b2a281ed8;hp=08bcdf0db39c0d9802fa04a8f569fad868289ced;hpb=9b5736d5d906e63a9697f4b2a3a882a9e853ecd6;p=catagits%2FCatalyst-Action-REST.git diff --git a/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm b/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm index 08bcdf0..2cc7d46 100644 --- a/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm +++ b/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm @@ -82,6 +82,15 @@ sub test_status_gone : Local { message => "Document have been deleted by foo", ); } +sub test_status_see_other : Local { + my ( $self, $c ) = @_; + $self->status_see_other( + $c, + location => '/rest', + entity => { somethin => 'happenin' } + ); +} + sub opts : Local ActionClass('REST') {} sub opts_GET {