                 it("should pass url arguments specified in the route in the parameters dictionary") {
                     let route = "/route/:argument"
                     var argument: String?
-                    Routing.sharedRouter.map(route) { (parameters) in
+                    Routing.sharedRouter.map(route) { (parameters, completed) in
                         argument = parameters["argument"]
+                        completed()
                     }
                     
                     Routing.sharedRouter.open(NSURL(string: "routingexample://route/expected")!)

                it("should pass query parameters specified in the route in the parameters dictionary") {
                    let route = "/route"
                    var param: String?
                    Routing.sharedRouter.map(route) { (parameters) in
                        param = parameters["param"]
                    }
                    
                    Routing.sharedRouter.open(NSURL(string: "routingexample://route?param=expected")!)

                it("should call the binded closure corresponding to the opened route") {
                    let route = "/route"
                    var isOpened = false
                    Routing.sharedRouter.map(route) { (parameters, completed) in
                        isOpened = true
                        completed()
                    }
                    
                    Routing.sharedRouter.open(NSURL(string: "routingexample://route/")!)
