     @testDispatcherWorker.getHydrant (error, @hydrant) =>
       done error
 
-  beforeEach 'define whitelists', () ->
-    @meshbluWhitelists =
-      version: "2.0.0"
-      whitelists:
-        broadcast:
-          as: [uuid:"*"]
-          received: [uuid:"*"]
-          sent: [uuid:"*"]
-        discover:
-          as: [uuid:"*"]
-          view: [uuid:"*"]
-        configure:
-          as: [uuid:"*"]
-          received: [uuid:"*"]
-          sent: [uuid:"*"]
-          update: [uuid:"*"]
-        message:
-          as: [uuid:"*"]
-          from: [uuid:"*"]
-          received: [uuid:"*"]
-          sent: [uuid:"*"]
-
   beforeEach 'create update device', (done) ->
     @authUpdate =
       uuid: 'update-uuid'

    @spyDevice =
      uuid: 'spy-uuid'
      type: 'device:spy'
      meshblu: @meshbluWhitelists

        # version: '2.0.0'
        # whitelists:
        #   configure:
        #     received: [{uuid: 'emitter-uuid'}]

      # configureWhitelist: ['*']
      # discoverWhitelist: ['*']
      # receiveWhitelist: ['*']
      # sendWhitelist: ['*']


    @devices.insert @spyDevice, done


      uuid: 'update-uuid'
      type: 'device:updater'
      token: bcrypt.hashSync @authUpdate.token, 8

      meshblu:
        version: '2.0.0'
        whitelists:
          configure:
            sent: [{uuid: 'emitter-uuid'}]

    @devices.insert @updateDevice, done

