Skip to content

Commit 8baa65a

Browse files
committed
no longer in use
1 parent 03e5312 commit 8baa65a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/specs/web/routing/RouterTest.cfc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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(){

0 commit comments

Comments
 (0)