Skip to content

Commit

Permalink
No es6 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Jul 19, 2016
1 parent f97a4c0 commit 307ea2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/datatype.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ describe('datatypes', function() {
num: '3',
bool: 1
})
.then(m => {
.then(function(m) {
should.exist(m && m.id);
m.str.should.be.a.String;
m.num.should.be.a.Number;
m.bool.should.be.a.Boolean;
id = m.id;
return Model.find(id);
})
.then(m => {
.then(function(m) {
should.exist(m);
m.str.should.be.a.String;
m.num.should.be.a.Number;
Expand All @@ -46,7 +46,7 @@ describe('datatypes', function() {
m.date.toString().should.equal(d.toString(), 'Time must match');
return Model.findOne();
})
.then(m => {
.then(function(m) {
should.exist(m);
m.str.should.be.a.String;
m.num.should.be.a.Number;
Expand Down

0 comments on commit 307ea2e

Please sign in to comment.