   describe 'when nanocyte deployer is given a new instance uuid', ->
     beforeEach ->
       request =
+        get: sinon.stub().withArgs('deploymentUuid').returns 'this-deployment-uuid'
         params:
           flowId: 'some-other-new-flow-uuid'
         meshbluAuth:


      it 'should call _createNanocyteDeployer', ->
        expect(@_createNanocyteDeployer).to.have.been.calledWith
          flowUuid: 'some-flow-uuid'
          instanceId: 'an-instance-uuid'
          flowToken: 'cool-token-bro'

  describe 'when /instances receives a different message', ->
    beforeEach ->
      request =
        get: sinon.stub().withArgs('deploymentUuid').returns('some-other-deployment-uuid')
        params:
          flowId: 'some-other-flow-uuid'
        meshbluAuth:
