         # 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).

            req = body: _.cloneDeep share
            res = {}
            sharing.create req, res, ->
                req.share.should.exist
                req.share.shareID.should.exist
                req.share.docType.should.equal "sharing"
                for target in req.share.targets
                    should.exist(target.preToken)
                done()


            notifyTargetStub.restore()
            done()

        it 'should define the notifications correctly and call the route
        "services/sharing/revoke"', (done) ->
            notifyTargetStub.restore() # cancel stub
            # change to a custom stub that tests the values passed
