             auth: @auth
             toUuid: @auth.uuid
             jobType: 'SendMessage2'
-          rawData: JSON.stringify devices:['receiver-uuid'], payload: 'boo'
+          data:
+            devices: ['receiver-uuid'], payload: 'boo'
 
         client = new RedisNS 'messages', redis.createClient(@redisUri)
         @hydrant = new HydrantManager {client, @uuidAliasResolver}


      it 'should not deliver the sent message to the receiver', ->
        expect(@message).to.not.exist

        whitelists:
          message:
            sent: 'spy-uuid': {}

    @devices.insert @senderDevice, done

