salesperson spec repairs
This commit is contained in:
parent
4e5cbef155
commit
c22d1b0e72
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue