projects
/
catagits/Catalyst-Action-REST.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add failing tests for OPTIONS
[catagits/Catalyst-Action-REST.git]
/
t
/
lib
/
Test
/
Catalyst
/
Action
/
REST
/
Controller
/
REST.pm
diff --git
a/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm
b/t/lib/Test/Catalyst/Action/REST/Controller/REST.pm
index
63fdea1
..
ad168c1
100644
(file)
--- a/
t/lib/Test/Catalyst/Action/REST/Controller/REST.pm
+++ b/
t/lib/Test/Catalyst/Action/REST/Controller/REST.pm
@@
-76,4
+76,11
@@
sub test_status_gone : Local {
message => "Document have been deleted by foo", );
}
+sub opts : Local ActionClass('REST') {}
+
+sub opts_GET {
+ my ( $self, $c ) = @_;
+ $self->status_ok( $c, entity => { opts => 'worked' } );
+}
+
1;