   beforeEach ->
     process.env.RADBUS_TIMEZONE = 'America/Chicago'
     process.env.RADBUS_FUTURE_MINUTES = '60'
+
+    userData.fetch = (authToken) ->
+      user =
+        if authToken is 'foo-token'
+          id: 'foo'
+          displayName: 'Foo User'
+        else null
+
+      Q user
 
     scheduleData.fetch = (userId) ->
       schedule =


      Q schedule

  afterEach ->
    delete process.env.RADBUS_TIMEZONE
    delete process.env.RADBUS_FUTURE_MINUTES



# stub dependencies
userData =
  '@noCallThru': true

scheduleData =
  '@noCallThru': true

routeData =
  '@noCallThru': true

departureData =
  '@noCallThru': true

security = proxyquire '../../lib/security',
  '../data/user': userData

nowMoment = {}
momentStub = ->
