 
     describe "highlightSelectionExcludeScopes", ->
       beforeEach ->
-        setConfig('highlightSelectionExcludeScopes', [
+        atom.config.set('quick-highlight.highlightSelectionExcludeScopes', [
             'foo.bar',
             'hoge',
           ])


    describe "highlightSelectionDelay", ->
      beforeEach ->
        setConfig('highlightSelectionDelay', 300)

      it "highlight selection after specified delay", ->
        dispatchCommand('editor:select-word')

      expect(getDecorations(editor)).toHaveLength(0)

    it "won't highlight selectedText length is less than highlightSelectionMinimumLength", ->
      atom.config.set("quick-highlight.highlightSelectionMinimumLength", 3)
      dispatchCommand('core:select-right')
      advanceClock(150)
      expect(editor.getSelectedText()).toBe "o"
