             done()
 
         it 'should define the notifications correctly and call the route
-        "services/sharing/cancel"', (done) ->
+        "services/sharing/revoke"', (done) ->
             notifyTargetStub.restore() # cancel stub
             # change to a custom stub that tests the values passed
-            testNotifyTargetFn = (route, notification, callback) ->
-                route.should.equal "services/sharing/cancel"
+            testNotifyTargetFn = (url, route, notification, callback) ->
+                route.should.equal "services/sharing/revoke"
                 urls.should.contain notification.recipientUrl
-                should.exist notification.token
-                tokens.should.contain notification.token
-                notification.shareID.should.equal req.share.shareID
                 notification.desc.should.equal "The sharing
                     #{req.share.shareID} has been deleted"
                 callback null


        # We stub the `notifyRecipient` module to avoid calling it (if so it would
        # try to request the url we declare in the share object).
        stubFn = (route, request, callback) ->
            spyRoute   = route
            spyRequest = request
            callback null # to mimick success

                should.exist req.share
                should.exist req.share.token
                req.share.id.should.equal answer.id
                done()


