[Search] Update tests

for 100% coverage.
This commit is contained in:
slhale
2015-08-18 12:37:47 -07:00
parent 17f2bb966b
commit 3d1e1659c2
2 changed files with 21 additions and 0 deletions

View File

@@ -199,6 +199,10 @@ define(
mockPromise.then.mostRecentCall.args[0]({hits: [], total: 0});
expect(mockScope.ngModel.search).toEqual(false);
});
it("has a default results list to filter from", function () {
expect(mockScope.ngModel.filter()).toBeDefined();
});
});
}
);