           pane.remove()
           expect(atom.workspaceView.focus).not.toHaveBeenCalled()
 
-  describe ".getNextPane()", ->
+  describe "::getNextPane()", ->
     it "returns the next pane if one exists, wrapping around from the last pane to the first", ->
       pane.showItem(editor1)
       expect(pane.getNextPane()).toBeUndefined

        expect(pane.itemViews.find('#view-2')).toExist()
        expect(pane.activeView).toBe view2

  describe ".destroyItem(item)", ->
    describe "if the item is not modified", ->
      it "removes the item and tries to call destroy on it", ->
        pane.destroyItem(editor2)

          expect(pane.getItems().indexOf(editor2)).not.toBe -1
          expect(editor2.destroyed).toBeFalsy()

  describe "::removeItem(item)", ->
    it "removes the item from the items list and shows the next item if it was showing", ->
      pane.removeItem(view1)
      expect(pane.getItems()).toEqual [editor1, view2, editor2]
