expect(User.attributes).toEqual({id:"INT NOT NULL auto_increment PRIMARY KEY",deletedAt:"DATETIME",updatedAt:"DATETIME NOT NULL",createdAt:"DATETIME NOT NULL"})
})
it("underscores timestamps if underscored",function(){
expect(User.attributes).toEqual({id:"INT NOT NULL auto_increment PRIMARY KEY",deleted_at:"DATETIME",updated_at:"DATETIME NOT NULL",created_at:"DATETIME NOT NULL"})
})
it("uses the passed model name as tablename if freezeTableName",function(){
assert.eql(User.attributes,{id:"INT NOT NULL auto_increment PRIMARY KEY",deletedAt:"DATETIME",updatedAt:"DATETIME NOT NULL",createdAt:"DATETIME NOT NULL"})
},
'timestamp columns should be underscored if underscored is passed':function(){
assert.eql(User.attributes,{id:"INT NOT NULL auto_increment PRIMARY KEY",deleted_at:"DATETIME",updated_at:"DATETIME NOT NULL",created_at:"DATETIME NOT NULL"})
},
'tablenames should be as passed if they are frozen':function(){