           dropzone.getQueuedFiles().length.should.equal 0
           dropzone.getUploadingFiles().length.should.equal 0
 
-      it "should call processQueue()", ->
+      it "should call processQueue()", (done) ->
           mockFile = getMockFile()
 
           dropzone.accept = (file, done) -> done()

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


  describe "file handling", ->



  describe "helper function", ->
    element = null
    dropzone = null
    beforeEach ->
      element = Dropzone.createElement """<div></div>"""
      dropzone = new Dropzone element, url: "url"

    describe "getExistingFallback()", ->
      it "should return undefined if no fallback", ->
        expect(dropzone.getExistingFallback()).to.equal undefined

