             expect(atom.config.get('foo.baz')).toBe 'bar'
 
         it "does not fire a change event for paths that did not change", ->
-          atom.config.onDidChange 'foo.bar', noChangeSpy = jasmine.createSpy()
+          atom.config.onDidChange 'foo.bar', noChangeSpy = jasmine.createSpy "unchanged"
 
           writeConfigFile "foo: { bar: 'baz', baz: 'ok'}", 2
           waitsFor 'update event', -> updatedHandler.callCount > 0

      describe "when the config file changes to contain invalid cson", ->
        addErrorHandler = null
        beforeEach ->
          atom.notifications.onDidAddNotification addErrorHandler = jasmine.createSpy()
          writeConfigFile "}}}", 4
          waitsFor "error to be logged", -> addErrorHandler.callCount > 0


        waitsForPromise -> atom.config.observeUserConfig()

        runs ->
          updatedHandler = jasmine.createSpy "updatedHandler"
          atom.config.onDidChange updatedHandler

      afterEach ->
