       describe "when the active pane has an item for the selected path", ->
         it "switches to the item for the selected path", ->
           expectedPath = project.resolve('sample.txt')
-          finderView.confirmed({path: expectedPath})
+          finderView.confirmed({filePath: expectedPath})
 
           expect(finderView.hasParent()).toBeFalsy()
           expect(editor1.getPath()).not.toBe expectedPath

      spyOn(pane, "splitRight").andCallThrough()

      rootView.trigger 'fuzzy-finder:toggle-buffer-finder'
      {path} = finderView.getSelectedElement()
      finderView.miniEditor.trigger 'pane:split-right'

      expect(rootView.getPanes().length).toBe 2
      expect(pane.splitRight).toHaveBeenCalled()
      expect(rootView.getActiveView().getPath()).toBe project.resolve(path)

    it "opens the path by splitting the active editor up", ->
      expect(rootView.getPanes().length).toBe 1

      spyOn(pane, "splitUp").andCallThrough()

      rootView.trigger 'fuzzy-finder:toggle-buffer-finder'
      {filePath} = finderView.getSelectedElement()
      finderView.miniEditor.trigger 'pane:split-up'

      expect(rootView.getPanes().length).toBe 2
      expect(pane.splitUp).toHaveBeenCalled()
      expect(rootView.getActiveView().getPath()).toBe project.resolve(filePath)

    it "opens the path by splitting the active editor down", ->
      expect(rootView.getPanes().length).toBe 1
