     atom.project.setPath(atom.project.resolve('dir'))
     workspace = new Workspace
 
-  describe "::openSync(filePath, options)", ->
+  describe "::openSync(uri, 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 path being opened", ->
        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

      spyOn(activePane, 'activate')
      initialItemCount = activePane.items.length

    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
