           expect(resultsView.find('.selected')).toExist()
 
     it "arrows through the list without selecting paths", ->
+      rootView.openSync('sample.js')
       projectFindView.findEditor.setText('items')
       projectFindView.trigger 'core:confirm'
 

  [projectFindView, resultsView, searchPromise] = []

  getResultsView = ->
    projectFindView.getExistingResultsPane().view.resultsView

  beforeEach ->
    window.rootView = new RootView()
    project.setPath(path.join(__dirname, 'fixtures'))
    rootView.attachToDom()
    pack = atom.activatePackage("find-and-replace", immediate: true)

        expect(resultsView.find("li").length).toBeGreaterThan previousOperationCount

    it "renders all operations when core:move-to-bottom is triggered", ->
      rootView.height(300)
      projectFindView.findEditor.setText('so')
      projectFindView.confirm()

