X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcatalyst-controller-rest.t;fp=t%2Fcatalyst-controller-rest.t;h=18a064003f95d8456115d3977729fbba202e352b;hb=bdff70a9a41c75023febf0783e4b014d02743673;hp=5d8f731f1a3e33744f5d47e0246ad2940c9982d7;hpb=a042dad01479cdd9e5e2c6e8581d2cdd0f604fa7;p=catagits%2FCatalyst-Action-REST.git diff --git a/t/catalyst-controller-rest.t b/t/catalyst-controller-rest.t index 5d8f731..18a0640 100644 --- a/t/catalyst-controller-rest.t +++ b/t/catalyst-controller-rest.t @@ -1,6 +1,6 @@ use strict; use warnings; -use Test::More tests => 18; +use Test::More tests => 20; use YAML::Syck; use FindBin; @@ -48,3 +48,7 @@ is $res->code, 410, '... status gone'; is_deeply Load( $res->content ), { error => "Document have been deleted by foo" }, "... status gone message"; + +ok $res = request( $t->get( url => '/rest/test_status_multiple_choices' ) ); +is $res->code, 300, "... multiple choices"; +