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

Commit 93d0324c by sdepold

fixed spec

1 parent ed8a11ca
Showing with 12 additions and 0 deletions
......@@ -11,6 +11,18 @@ buster.spec.expose()
buster.testRunner.timeout = 500
describe('BelongsTo', function() {
before(function(done) {
var self = this
sequelize.getQueryInterface()
.dropAllTables()
.success(function() {
sequelize.daoFactoryManager.daos = []
done()
})
.error(function(err) { console.log(err) })
})
describe('setAssociation', function() {
it('clears the association if null is passed', function(done) {
var User = sequelize.define('User', { username: Sequelize.STRING })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!