           pane.saveActiveItem()
           expect(atom.showSaveDialogSync).not.toHaveBeenCalled()
 
-  describe "saveActiveItemAs", ->
+  describe "::saveActiveItemAs()", ->
     beforeEach ->
       spyOn(atom, 'showSaveDialogSync').andReturn('/selected/path')
 

      expect(editor2.destroyed).toBeTruthy()
      expect(pane.getItems()).toEqual [editor1]

  describe "saveActiveItem", ->
    describe "when the current item has a uri", ->
      describe "when the current item has a save method", ->
        it "saves the current item", ->

          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]
