           , (err, res) ->
             expect(res.files['styles.less']).toBeDefined()
 
+      it "don't back up the user styles", ->
+        atom.config.set('sync-settings.syncStyles', false)
+        run (cb) ->
+          SyncSettings.backup cb
+        , ->
+          run (cb) =>
+            SyncSettings.createClient().gists.get({id: @gistId}, cb)
+          , (err, res) ->
+            expect(res.files['styles.less']).not.toBeDefined()
+
       it "back up the user init.coffee file", ->
         atom.config.set('sync-settings.syncInit', true)
         run (cb) ->

          , ->
            expect(atom.config.get "some-dummy").toBeTruthy()

      it "overrides keymap.cson", ->
        atom.config.set('sync-settings.syncKeymap', true)
        original = SyncSettings.fileContent(atom.keymaps.getUserKeymapPath()) ? "# keymap file (not found)"

          , (err, res) ->
            expect(res.files['snippets.cson']).toBeDefined()

      it "don't back up the user snippets", ->
        atom.config.set('sync-settings.syncSnippets', false)
        run (cb) ->
          SyncSettings.backup cb
        , ->
          run (cb) =>
            SyncSettings.createClient().gists.get({id: @gistId}, cb)
          , (err, res) ->
            expect(res.files['snippets.cson']).not.toBeDefined()

      it "back up the files defined in config.extraFiles", ->
        atom.config.set 'sync-settings.extraFiles', ['test.tmp', 'test2.tmp']
        run (cb) ->
