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

You need to sign in or sign up before continuing.
Commit f862ca78 by Sascha Depold

fuu

1 parent d58cd408
Showing with 3 additions and 1 deletions
......@@ -6,7 +6,7 @@ if (typeof require === 'function') {
}
buster.spec.expose()
buster.testRunner.timeout = 500
buster.testRunner.timeout = 1500
describe("[" + dialect.toUpperCase() + "] HasOne", function() {
before(function(done) {
......@@ -27,6 +27,7 @@ describe("[" + dialect.toUpperCase() + "] HasOne", function() {
User.hasOne(Task)
this.sequelize.sync({ force: true }).success(function() {
setTimeout(function(){
User.create({ username: 'foo' }).success(function(user) {
Task.create({ title: 'task' }).success(function(task) {
user.setTask(task).success(function() {
......@@ -44,6 +45,7 @@ describe("[" + dialect.toUpperCase() + "] HasOne", function() {
})
})
})
}.bind(this), 500)
})
})
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!