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=f9f714718ecd83bacc0de40c5caf935c088193c6;hb=5213846dc53c8fdcb6de11243fad7e40378624e7;hp=e434159dfbb85355f1b8e0e579e2eed951a76912;hpb=930013e6f19b25a090c3f8839495ad8d9b15ff6d;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 e434159..f9f7147 100644 --- a/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm +++ b/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm @@ -20,6 +20,15 @@ sub test_status_created : Local { ); } +sub test_status_multiple_choices : Local { + my ( $self, $c ) = @_; + $self->status_multiple_choices( + $c, + location => '/rest/choice1', + entity => { choices => [qw(/rest/choice1 /rest/choice2)] } + ); +} + sub test_status_accepted : Local { my ( $self, $c ) = @_; $self->status_accepted( $c, entity => { status => "queued", } );