   describe "path ignoring", ->
     it "ignores paths that match entries in config.fuzzyFinder.ignoredNames", ->
       config.set("fuzzyFinder.ignoredNames", ["tree-view.js"])
-      jasmine.unspy(window, "setTimeout")
       rootView.trigger 'fuzzy-finder:toggle-file-finder'
       finderView.maxItems = Infinity
 

        it "shows all relative file paths for the current project and selects the first", ->
          rootView.attachToDom()
          finderView.maxItems = Infinity
          jasmine.unspy(window, "setTimeout")
          rootView.trigger 'fuzzy-finder:toggle-file-finder'
          paths = null
          expect(finderView.find(".loading")).toBeVisible()


    it "busts the cache when the window gains focus", ->
      spyOn(LoadPathsTask.prototype, "start").andCallThrough()
      rootView.trigger 'fuzzy-finder:toggle-file-finder'

      waitsFor ->
