         expect(selectedItem).toHaveClass('collapsed')
         expect(selectedItem[0]).toBe resultsView.find('.path:eq(0)')[0]
 
-    it "expand current list", ->
-      projectFindView.findEditor.setText('items')
-      projectFindView.trigger 'core:confirm'
-
-      waitsForPromise ->
-        searchPromise
-
-      runs ->
-        resultsView = getResultsView()
-
+      it "expands the selected results view", ->
         # select item in first list
         resultsView.find('.selected').removeClass('selected')
         resultsView.find('.path:eq(0)').addClass('selected').addClass('collapsed')

        expect(resultsView.find("li").length).toBe resultsView.getPathCount() + resultsView.getMatchCount()

  describe "arrowing through the list", ->
    describe "when nothing is selected", ->
      beforeEach ->
        projectFindView.findEditor.setText('items')
        projectFindView.trigger 'core:confirm'

      it "doesnt error when the user arrows down", ->
        waitsForPromise ->
          searchPromise

        runs ->
          resultsView = getResultsView()
          resultsView.find('.selected').removeClass('selected')
          expect(resultsView.find('.selected')).not.toExist()
          resultsView.trigger 'core:move-down'
          expect(resultsView.find('.selected')).toExist()

      it "doesnt error when the user arrows up", ->
        waitsForPromise ->
          searchPromise

        runs ->
          resultsView = getResultsView()
          resultsView.find('.selected').removeClass('selected')
          expect(resultsView.find('.selected')).not.toExist()
          resultsView.trigger 'core:move-up'
          expect(resultsView.find('.selected')).toExist()

    it "arrows through the list without selecting paths", ->
      openHandler = null

      waitsForPromise ->

        activePane = atom.workspaceView.getActivePaneView()
        expect(atom.workspace.getActivePaneItem().getPath()).toContain('sample.')

    it "arrows through the entire list without selecting paths and overshooting the boundaries", ->
      waitsForPromise ->
        atom.workspace.open('sample.js')

