 
   describe '::followLazyLoad', ->
 
-    it 'should call hideLazyLoader if filterState.busy is yes', ->
+    it 'should call hideLazyLoader if filterState.busy is yes', (done) ->
 
       listController  = new KodingListController { fetcherMethod : kd.noop }
       listController.filterStates.busy = yes


      kd.utils.wait 333, ->
        expect(addListItemsSpy).toHaveBeenCalled()

    it 'should increase filterStates.page value', ->

      fetcherMethod   = (query, options, callback) -> callback null, []
      listController  = new KodingListController { fetcherMethod, limit : 20 }


      listController.emit 'LazyLoadThresholdReached'

      kd.utils.wait 333, ->
        expect(spy).toHaveBeenCalled()
        done()

    it 'should increase filterStates.skip value', (done) ->

      listController  = new KodingListController { fetcherMethod : kd.noop, limit : 20 }

