From 985f9970f3b73863b20d55369ac0e902e27384fd Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 24 Mar 2016 15:25:31 -0700 Subject: [PATCH] [courier/tests] updated test --- src/ui/public/courier/fetch/request/__tests__/segmented.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui/public/courier/fetch/request/__tests__/segmented.js b/src/ui/public/courier/fetch/request/__tests__/segmented.js index 4ccb32e0c38b..a30f3da68747 100644 --- a/src/ui/public/courier/fetch/request/__tests__/segmented.js +++ b/src/ui/public/courier/fetch/request/__tests__/segmented.js @@ -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); }); });