[courier/tests] updated test
This commit is contained in:
parent
8fef03b816
commit
985f9970f3
|
@ -32,9 +32,7 @@ describe('ui/courier/fetch/request/segmented', () => {
|
|||
expect(returned.then).to.be.Function;
|
||||
});
|
||||
|
||||
it('does not call super.start() until promise is resolved', () => {
|
||||
expect(searchReqStart.called).to.be(false);
|
||||
$rootScope.$apply();
|
||||
it('calls super.start() synchronously', () => {
|
||||
expect(searchReqStart.called).to.be(true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue