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

Commit a67b59e3 by Mick Hansen

test fixes

1 parent 8512db66
...@@ -871,6 +871,7 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () { ...@@ -871,6 +871,7 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
t1.commit().success(function() { t1.commit().success(function() {
count(null, function(cnt) { count(null, function(cnt) {
expect(cnt).to.equal(1) expect(cnt).to.equal(1)
done();
}) })
}) })
}) })
...@@ -881,8 +882,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () { ...@@ -881,8 +882,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
}) })
}) })
}) })
}).done(function() {
done()
}) })
}) })
}) })
......
...@@ -67,8 +67,6 @@ describe(Support.getTestDialectTeaser("Sequelize#transaction"), function () { ...@@ -67,8 +67,6 @@ describe(Support.getTestDialectTeaser("Sequelize#transaction"), function () {
}); });
}).then(function () { }).then(function () {
return t.commit(); return t.commit();
}).catch(function (err) {
return t.rollback();
}); });
}).then(function() { }).then(function() {
return User.all().success(function(users) { return User.all().success(function(users) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!