 
       describe "when a file is removed", ->
         it "closes editors with filepaths belonging to the removed file", ->
-          jasmine.attachToDOM(workspaceElement)
-
           waitForWorkspaceOpenEvent ->
             atom.workspace.open(filePath2)
 

        it "does not error", ->
          # If the file is marked for deletion but has already been deleted
          # outside of Atom by the time the deletion is confirmed, do not error
          jasmine.attachToDOM(workspaceElement)
          atom.notifications.clear()

          fileView.dispatchEvent(new MouseEvent('click', {bubbles: true, detail: 1}))

            expect(openFilePaths).toEqual([filePath20])

        it "does not error when Untitled editors are also open (regresssion)", ->
          waitForWorkspaceOpenEvent ->
            atom.workspace.open(filePath2)

