File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -285,24 +285,6 @@ component extends="coldbox.system.testing.BaseModelTest" {
285285 } );
286286 } );
287287
288- story ( " I can register routes with a with closure" , function (){
289- given ( " a with closure" , function (){
290- then ( " it will concatenate its members" , function (){
291- router
292- .with ( pattern = " /api" , handler = " luis" )
293- .addRoute ( pattern = " /users" , action = " index" )
294- .addRoute ( pattern = " /hello" , action = " hello" )
295- .endWith ();
296- var routes = router
297- .getRoutes ()
298- .filter ( function ( item ){
299- return ( reFindNoCase ( " ^api" , item .pattern ) && reFindNoCase ( " luis" , item .handler ) );
300- } );
301- expect ( routes ).notToBeEmpty ();
302- } );
303- } );
304- } );
305-
306288 story ( " I can register route headers" , function (){
307289 given ( " A single or multiple headers" , function (){
308290 then ( " they will register correctly" , function (){
You can’t perform that action at this time.
0 commit comments