       runs ->
         reloadHandler.reset()
         expect($('style.theme')).toHaveLength 0
-        atom.config.set('core.themes', ['atom-dark-syntax'])
+        atom.config.set('core.themes', ['atom-dark-ui'])
 
       waitsFor ->
         reloadHandler.callCount == 1

      runs ->
        reloadHandler.reset()
        expect($('style[group=theme]')).toHaveLength 2
        expect($('style[group=theme]:eq(0)').attr('source-path')).toMatch /atom-dark-syntax/
        expect($('style[group=theme]:eq(1)').attr('source-path')).toMatch /atom-light-syntax/
        atom.config.set('core.themes', [])

      waitsFor ->

      runs ->
        reloadHandler.reset()
        expect($('style[group=theme]')).toHaveLength 2
        expect($('style[group=theme]:eq(1)').attr('source-path')).toMatch /atom-dark-ui/
        atom.config.set('core.themes', ['atom-light-ui', 'atom-dark-ui'])

      waitsFor ->
        reloadHandler.callCount == 1
