Merge pull request #379 from andrewdavey/patch-1

IHttpBackendService#flush count parameter optional
This commit is contained in:
Diullei Gomes
2013-03-07 08:54:13 -08:00
+1 -1
View File
@@ -71,7 +71,7 @@ module ng {
// see http://docs.angularjs.org/api/ngMock.$httpBackend
///////////////////////////////////////////////////////////////////////////
interface IHttpBackendService {
flush(count: number): void;
flush(count?: number): void;
resetExpectations(): void;
verifyNoOutstandingExpectation(): void;
verifyNoOutstandingRequest(): void;