[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;
|
expect(returned.then).to.be.Function;
|
||||||
});
|
});
|
||||||
|
|
||||||
it('does not call super.start() until promise is resolved', () => {
|
it('calls super.start() synchronously', () => {
|
||||||
expect(searchReqStart.called).to.be(false);
|
|
||||||
$rootScope.$apply();
|
|
||||||
expect(searchReqStart.called).to.be(true);
|
expect(searchReqStart.called).to.be(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue