 operationQueue = require '../../backend/operation_queue'
 {syncPath} = helpers.options
 
+
 describe "Operation Queue Tests", ->
     @timeout 4000
 
     before cliHelpers.resetDatabase
     before cliHelpers.initConfiguration
     before fileHelpers.deleteAll
+    after fileHelpers.deleteAll
     after cliHelpers.resetDatabase
 
     describe "createFileLocally", ->

                        docType: 'Binary'
                        checksum: sum
                        path: 'chat-mignon.jpg'
                    pouch.db.put binaryDoc, (err) ->
                        pouch.binaries.get sum, (err, binaryDoc) ->
                            should.not.exist err

                            operationQueue.createFileLocally doc, (err) ->
                                should.not.exist err
                                done()

            it 'creates parent Folder', ->

            it 'copy the local file', ->
            it 'update creation and last modification dates', ->

        describe 'Similar File exists remotely', ->

            it 'creates parent Folder', ->
            it 'copy the local file', ->
            it 'update creation and last modification dates', ->

touch = require 'touch'
date = require 'date-utils'
mkdirp = require 'mkdirp'
moment = require 'moment'
log = require('printit')
    prefix: "Tests"

