Permalink
Browse files

fix test, .should.be.a('number') isn't valid

  • Loading branch information...
1 parent 8a12ad8 commit d4c9ef6f157a765c0bc5e63486be44f9cd95c67e @wryk wryk committed Nov 6, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 test/batch.js
View
@@ -70,19 +70,19 @@ describe('Batch', function(){
switch (e.index) {
case 0:
e.value.should.equal('foo');
- e.percent.should.be.a('number');
- e.total.should.be.a('number');
- e.complete.should.be.a('number');
- e.pending.should.be.a('number');
- e.duration.should.be.a('number');
+ e.percent.should.be.a.Number;
+ e.total.should.be.a.Number;
+ e.complete.should.be.a.Number;
+ e.pending.should.be.a.Number;
+ e.duration.should.be.a.Number;
break;
case 1:
e.value.should.equal('bar');
- e.percent.should.be.a('number');
+ e.percent.should.be.a.Number;
break;
case 2:
e.value.should.equal('baz');
- e.percent.should.be.a('number');
+ e.percent.should.be.a.Number;
break;
}

0 comments on commit d4c9ef6

Please sign in to comment.