adapted test to show now 6 sales person

This commit is contained in:
Carlos Jimenez 2018-02-19 11:58:02 +01:00
parent b8e6a8d0b3
commit 84bc505937
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 3 salesPersons', done => {
it('should call the activeSalesPerson() method with no limit and receive all 6 salesPersons', done => {
let filter = {
};
let callback = (error, result) => {
if (error) return catchErrors(done)(error);
expect(result.length).toEqual(3);
expect(result.length).toEqual(6);
done();
};