           expect(rootView.find('.fuzzy-finder')).not.toExist()
 
           rootView.trigger 'fuzzy-finder:toggle-file-finder'
-          expect(finder.miniEditor.getText()).toBe ''
+          expect(finderView.miniEditor.getText()).toBe ''
 
         it "shows all relative file paths for the current project and selects the first", ->
           rootView.attachToDom()
-          finder.maxItems = Infinity
+          finderView.maxItems = Infinity
           rootView.trigger 'fuzzy-finder:toggle-file-finder'
           paths = null
-          expect(finder.find(".loading")).toBeVisible()
-          expect(finder.find(".loading")).toHaveText "Indexing..."
+          expect(finderView.find(".loading")).toBeVisible()
+          expect(finderView.find(".loading")).toHaveText "Indexing..."
 
           waitsFor "all project paths to load", 5000, ->
-            if finder.projectPaths?.length > 0
-              paths = finder.projectPaths
+            if finderView.projectPaths?.length > 0
+              paths = finderView.projectPaths
               true
 
           runs ->
-            expect(finder.list.children('li').length).toBe paths.length
+            expect(finderView.list.children('li').length).toBe paths.length
             for path in paths
-              expect(finder.list.find("li:contains(#{fs.base(path)})")).toExist()
-            expect(finder.list.children().first()).toHaveClass 'selected'
-            expect(finder.find(".loading")).not.toBeVisible()
+              expect(finderView.list.find("li:contains(#{fs.base(path)})")).toExist()
+            expect(finderView.list.children().first()).toHaveClass 'selected'
+            expect(finderView.find(".loading")).not.toBeVisible()
 
       describe "when root view's project has no path", ->
         beforeEach ->

        spyOn(editor, "splitLeft").andCallThrough()
        expect(rootView.find('.editor').length).toBe 1
        rootView.trigger 'fuzzy-finder:toggle-buffer-finder'
        finder.miniEditor.trigger 'editor:split-left'
        expect(rootView.find('.editor').length).toBe 2
        expect(editor.splitLeft).toHaveBeenCalled()
        expect(rootView.getActiveEditor()).not.toBe editor

        expect(rootView.getActiveEditor()).toBe editor2
        rootView.trigger 'fuzzy-finder:toggle-file-finder'

        finderView.confirmed('dir/a')
        expectedPath = fixturesProject.resolve('dir/a')

        expect(finderView.hasParent()).toBeFalsy()
        expect(editor1.getPath()).not.toBe expectedPath
        expect(editor2.getPath()).toBe expectedPath
        expect(editor2.isFocused).toBeTruthy()
