                 expect(promise.isResolved()).toBe false
 
             it 'should return false if rejected', ->
-                rejectFn()
-                expect(promise.isResolved()).toBe false
+                runs rejectFn
+                waits 1
+                runs ->
+                    expect(promise.isResolved()).toBe false
 
             it 'should return true if resolved', ->
-                resolveFn()
-                expect(promise.isResolved()).toBe true
+                runs resolveFn
+                waits 1
+                runs ->
+                    expect(promise.isResolved()).toBe true
 exports.describePromise = describePromise
 
 describePromise ->


                promise.then [], [failFn1]
                promise.then [successFn], [failFn2]
                rejectFn()

                expect(failFn1.called).toBe true
                expect(failFn2.called).toBe true

        describe 'provides done', ->
            beforeEach ->


                promise.then [successFn1]
                promise.then [successFn2], [failFn]

                runs resolveFn
                waits 1
                runs ->
                    expect(successFn1.called).toBe true
                    expect(successFn2.called).toBe true

            it 'should register failure callbacks', ->
                successFn = callTrackingFn()
