         # Phony document
         targets =
             [{recipientUrl: 'url1.com', preToken:'preToken1'},
-             {recipientUrl: 'url2.com', token:'token2', repID: 2},
+             {recipientUrl: 'url2.com', token:'token2', repID: '2'},
              {recipientUrl: 'url3.com', preToken:'preToken3'},
-             {recipientUrl: 'url4.com', token:'token4', repID: 4},
+             {recipientUrl: 'url4.com', token:'token4', repID: '4'},
              {recipientUrl: 'url5.com', preToken:'preToken5'}]
         urls = (target.recipientUrl for target in targets)     # extract urls
         tokens = (target.token for target in targets) # extract tokens and pre
         tokens = tokens.concat (target.preToken for target in targets)
         # req to mimick result of preceeding calls
         req = share:
-            shareID: 103
+            shareID: '103'
             targets: targets
 
         # sharing.notifyRecipient stub (lib/sharing.coffee).

        # Correct sharing structure
        share =
            desc: 'description'
            rules: [ {id: 1, docType: 'event'}, {id: 2, docType: 'Tasky'} ]
            targets: [{recipientUrl: 'url1.com'}, {recipientUrl: 'url2.com'}, \
                {recipientUrl: 'url3.com'}]
            continuous: true

            sharing.sendRevocationToTargets req, resStub, ->
                done()

        it 'should send notifications to all targets that have a token and a
        repID', (done) ->
            # mimick Express `res.send`
            resStub =
