             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
+                req.body.should.exist
+                req.body.shareID.should.exist
+                req.body.docType.should.equal "sharing"
+                for target in req.body.targets
                     should.exist(target.preToken)
                 done()
 

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

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

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