不要怂,就是干,撸起袖子干!

Commit 1927e825 by Dr. Evil

Fix failing test

1 parent 1dfb1ebd
Showing with 2 additions and 2 deletions
......@@ -453,9 +453,9 @@ describe(Support.getTestDialectTeaser('Sequelize'), function() {
describe('define', function() {
it('adds a new dao to the dao manager', function(done) {
expect(this.sequelize.daoFactoryManager.all.length).to.equal(0);
var count = this.sequelize.daoFactoryManager.all.length;
this.sequelize.define('foo', { title: DataTypes.STRING });
expect(this.sequelize.daoFactoryManager.all.length).to.equal(1);
expect(this.sequelize.daoFactoryManager.all.length).to.equal(count+1);
done();
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!