       file.readSync()
 
     describe "when the contents of the file change", ->
-      it "triggers 'contents-changed' event handlers", ->
+      it "notifies ::onDidChange observers", ->
         changeHandler = jasmine.createSpy('changeHandler')
-        file.on 'contents-changed', changeHandler
+        file.onDidChange changeHandler
         fs.writeFileSync(file.getPath(), "this is new!")
 
         waitsFor "change event", ->

        waitsFor "second change event", ->
          changeHandler.callCount > 0

    describe "when the file is removed", ->
      it "triggers 'remove' event handlers", ->
        removeHandler = jasmine.createSpy('removeHandler')
        file.on 'removed', removeHandler
        fs.removeSync(file.getPath())

        waitsFor "remove event", ->
          removeHandler.callCount > 0

    describe "when a file is moved (via the filesystem)", ->
      newPath = null

        runs ->
          expect(file.getPath()).toBe newPath

      it "maintains ::onDidChange observers that were subscribed on the previous path", ->
        moveHandler = null
        moveHandler = jasmine.createSpy('moveHandler')
        file.on 'moved', moveHandler
        changeHandler = null
        changeHandler = jasmine.createSpy('changeHandler')
        file.onDidChange changeHandler

        fs.moveSync(filePath, newPath)

