[Search] Update test

Fully calls through the controller's search().
This commit is contained in:
slhale 2015-08-06 10:35:57 -07:00
parent 1a4d7618c1
commit e0a0d293fa

View File

@ -117,6 +117,7 @@ define(
// Flag should be flase with empty input
mockScope.ngModel.input = "";
controller.search();
mockPromise.then.mostRecentCall.args[0]({hits: [], total: 0});
expect(mockScope.ngModel.search).toEqual(false);
});
});