Skip to content

Commit

Permalink
Test parsing unknown numberString
Browse files Browse the repository at this point in the history
  • Loading branch information
brandongoode committed Jul 2, 2017
1 parent 86b24a1 commit e7bd4ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -788,12 +788,14 @@ describe('Schema tests', function (){
id: { N: '2' },
name: { S: 'Fluffy' },
anObject: { S: '{"a":"attribute"}' },
numberString: { S: '1' },
});

model.should.eql({
id: 2,
name: 'Fluffy',
anObject: { a: 'attribute' }
anObject: { a: 'attribute' },
numberString: 1,
});
done();
});
Expand Down

0 comments on commit e7bd4ab

Please sign in to comment.