       spyOn(activePane, 'activate')
       initialItemCount = activePane.items.length
 
-    describe "when called with no path", ->
+    describe "when called without a uri", ->
       it "adds and activates an empty editor on the active pane", ->
         editor = workspace.openSync()
         expect(activePane.items.length).toBe initialItemCount + 1

    atom.project.setPath(atom.project.resolve('dir'))
    workspace = new Workspace

  describe "::openSync(filePath, options)", ->
    [activePane, initialItemCount] = []

    beforeEach ->

          expect(activePane.activate).toHaveBeenCalled()
          expect(activePane.items.length).toBe 2

      describe "when the active pane does not have an editor for the given uri", ->
        it "adds and activates a new editor for the given path on the active pane", ->
          editor = workspace.openSync('a')
          expect(activePane.items.length).toBe 1
