                             konnector.destroy()
                             done()
 
-
-            it 'When the cron function is called', (done) ->
+            it 'When import function is called', (done) ->
                 Konnector.all (err, body) =>
                     for konnector in body when konnector.slug is 'free'
                         konnector.fieldValues = "login": "test", "password": "password", "date": "", 'folderPath': ""

                @timeout 4000
                @sandbox = sinon.sandbox.create useFakeTimers: true
                @spy = @sandbox.spy free, 'fetch'
                helpers.startApp (appli)->
                    app = appli
                    done()
            after (done) ->
                @sandbox.restore()
                helpers.stopApp () ->

                            konnector.destroy()
                            done()

            it 'When the import function is called', (done) ->
                Konnector.all (err, body) =>
                    for konnector in body when konnector.slug is 'free'
                        konnector.fieldValues = "login": "test", "password": "password", "date": "", 'folderPath': ""
