 
   it "should return 200 with an empty list when no departures exist", ->
 
-    departureData.fetchByRouteDirectionAndStop = (routeId, directionId, stopId) ->
-      departures = []
+    scheduleData.fetch = (userId) ->
+      departures = null
+      Q departures
 
     request(server)
       .get('/departures')

    process.env.RADBUS_TIMEZONE = 'America/Chicago'
    process.env.RADBUS_FUTURE_MINUTES = '60'

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

  '../data/user': userData

scheduleData =
  '@noCallThru': true

routeData =
