Add failing test for updating related rows with ::REST.
[catagits/Catalyst-Controller-DBIC-API.git] / t / lib / RestTest / Controller / API / REST / Track.pm
index 6a7bcf0..f8b15b8 100644 (file)
@@ -9,7 +9,7 @@ __PACKAGE__->config
       class => 'RestTestDB::Track',
       create_requires => ['cd', 'title' ],
       create_allows => ['cd', 'title', 'position' ],
-      update_allows => ['title', 'position']
+      update_allows => ['title', 'position', { cd => ['*'] }],
       );
 
 1;