Fix basic-querying (#1509)

* Fix basic-querying

* Fix duplicate MyModel
This commit is contained in:
Janny 2017-10-16 16:07:01 -04:00 committed by Diana Lau
parent c13f35ad49
commit e85e0f600b
1 changed files with 2 additions and 2 deletions

View File

@ -172,10 +172,10 @@ describe('datatypes', function() {
it('handles null data', (done) => {
db = getSchema();
Model = db.define('MyModel', {
Model = db.define('HandleNullModel', {
data: {type: 'string'},
});
db.automigrate(['Model'], function() {
db.automigrate(['HandleNullModel'], function() {
let a = new Model(null);
done();
});