Merge pull request #2256 from brendandahl/increase-wait

Increase wait timeout for api unit tests.
This commit is contained in:
Yury Delendik 2012-10-15 13:31:49 -07:00
commit ab0576a2a7

View File

@ -10,7 +10,7 @@ describe('api', function() {
function waitsForPromise(promise) { function waitsForPromise(promise) {
waitsFor(function() { waitsFor(function() {
return promise.isResolved || promise.isRejected; return promise.isResolved || promise.isRejected;
}, 1000); }, 4000);
} }
function expectAfterPromise(promise, successCallback) { function expectAfterPromise(promise, successCallback) {
waitsForPromise(promise); waitsForPromise(promise);