 
     describe "description label", ->
       beforeEach ->
-        editorView.trigger 'project-find:show'
+        atom.commands.dispatch editorView[0], 'project-find:show'
         atom.commands.dispatch(projectFindView[0], 'project-find:toggle-regex-option')
         spyOn(atom.project, 'scan').andCallFake -> Q()
 

          initialSelectedRange = editorView.getModel().getSelectedBufferRange()

          # now we can find next
          editorView.trigger 'find-and-replace:find-next'
          expect(editorView.getModel().getSelectedBufferRange()).not.toEqual initialSelectedRange

  describe "replacing", ->

          mainModule.createViews()
          {projectFindView} = mainModule

        atom.commands.dispatch editorView[0], 'project-find:show'

        waitsForPromise ->
          activationPromise
