salesperson spec repairs

This commit is contained in:
Carlos Jimenez 2018-02-27 12:08:19 +01:00
parent 4e5cbef155
commit c22d1b0e72
1 changed files with 2 additions and 2 deletions

View File

@ -17,14 +17,14 @@ describe('Client activeSalesPerson', () => {
app.models.Client.activeSalesPerson(filter, callback);
});
it('should call the activeSalesPerson() method with no limit and receive all 6 salesPersons', done => {
it('should call the activeSalesPerson() method with no limit and receive all 10 salesPersons', done => {
let filter = {
};
let callback = (error, result) => {
if (error) return catchErrors(done)(error);
expect(result.length).toEqual(6);
expect(result.length).toEqual(10);
done();
};