         activePaneItem = atom.workspace.getActivePaneItem()
         expect(activePaneItem.getPath()).toBe atom.project.getDirectories()[0].resolve('tree-view.txt')
         expect(atom.views.getView(activePaneItem)).toHaveFocus()
+        expect(activePaneItem.isPending()).toBe true
+        expect(atom.workspace.getActivePane().getItems().length).toBe 1
 
   describe "when a file is double-clicked", ->
     beforeEach ->
       jasmine.attachToDOM(workspaceElement)
 
-    it "selects the file and opens it in the active editor on the first click, then changes focus to the active editor on the second", ->
+    it "selects the file and opens it in the active editor on the first click in pending state, then terminates pending state on the second", ->
       treeView.focus()
 
       waitsForFileToOpen ->

    beforeEach ->
      jasmine.attachToDOM(workspaceElement)

    it "selects the files and opens it in the active editor, and changes focus to the file", ->
      treeView.focus()

      waitsForFileToOpen ->

        activePaneItem = atom.workspace.getActivePaneItem()
        expect(activePaneItem.getPath()).toBe atom.project.getDirectories()[0].resolve('tree-view.js')
        expect(atom.views.getView(activePaneItem)).toHaveFocus()
        expect(activePaneItem.isPending()).toBe true
        expect(atom.workspace.getActivePane().getItems().length).toBe 1

      waitsForFileToOpen ->
        sampleTxt.trigger clickEvent(originalEvent: {detail: 1})
