       rootView.trigger 'fuzzy-finder:find-under-cursor'
 
       waitsFor ->
-        finder.list.children('li').length > 0
-
-      runs ->
-        expect(finder).toBeVisible()
+        finderView.list.children('li').length > 0
+
+      runs ->
+        expect(finderView).toBeVisible()
         expect(rootView.find('.fuzzy-finder input:focus')).toExist()
 
     it "opens a file directly when there is a single match", ->

          rootView.trigger 'fuzzy-finder:toggle-buffer-finder'
          expect(rootView.find('.fuzzy-finder')).toExist()
          expect(rootView.find('.fuzzy-finder input:focus')).toExist()
          finder.miniEditor.insertText('this should not show up next time we toggle')

          rootView.trigger 'fuzzy-finder:toggle-buffer-finder'
          expect(editor1.isFocused).toBeFalsy()

          rootView.attachToDom()
          path = rootView.getActiveEditor().getPath()
          rootView.trigger 'fuzzy-finder:toggle-file-finder'
          finderView.confirmed('dir/this/is/not/a/file.txt')
          expect(finderView.hasParent()).toBeTruthy()
          expect(rootView.getActiveEditor().getPath()).toBe path
          expect(finderView.find('.error').text().length).toBeGreaterThan 0
          advanceClock(2000)
          expect(finderView.find('.error').text().length).toBe 0

  describe "buffer-finder behavior", ->
    describe "toggling", ->
