           dropzone.addFile getMockFile()
           dropzone.addFile getMockFile()
 
-          dropzone.getUploadingFiles().length.should.equal 1
-          dropzone.getQueuedFiles().length.should.equal 1
-          dropzone.files.length.should.equal 2
-
-          sinon.spy requests[0], "abort"
-
-          requests[0].abort.callCount.should.equal 0
-
-          dropzone.disable()
-
-          requests[0].abort.callCount.should.equal 1
-
-          dropzone.getUploadingFiles().length.should.equal 0
-          dropzone.getQueuedFiles().length.should.equal 0
-          dropzone.files.length.should.equal 2
-
-          dropzone.files[0].status.should.equal Dropzone.CANCELED
-          dropzone.files[1].status.should.equal Dropzone.CANCELED
+          setTimeout ->
+
+            dropzone.getUploadingFiles().length.should.equal 1
+            dropzone.getQueuedFiles().length.should.equal 1
+            dropzone.files.length.should.equal 2
+
+            sinon.spy requests[0], "abort"
+
+            requests[0].abort.callCount.should.equal 0
+
+            dropzone.disable()
+
+            requests[0].abort.callCount.should.equal 1
+
+            dropzone.getUploadingFiles().length.should.equal 0
+            dropzone.getQueuedFiles().length.should.equal 0
+            dropzone.files.length.should.equal 2
+
+            dropzone.files[0].status.should.equal Dropzone.CANCELED
+            dropzone.files[1].status.should.equal Dropzone.CANCELED
+            done()
+          , 10
 
     describe ".destroy()", ->
-      it "should properly cancel all pending uploads and remove all file references", ->
+      it "should properly cancel all pending uploads and remove all file references", (done) ->
           dropzone.accept = (file, done) -> done()
 
           dropzone.options.parallelUploads = 1

        fallback = Dropzone.createElement """<div class=" abc fallback test "></div>"""
        element.appendChild fallback
        fallback.should.equal dropzone.getExistingFallback()


  describe "file handling", ->



    describe ".removeFile()", ->
      it "should abort uploading if file is currently being uploaded", (done) ->
        mockFile = getMockFile()
        dropzone.uploadFile = (file) ->
        dropzone.accept = (file, done) -> done()
