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

Commit f90a7660 by Sascha Depold

fixed test for sqlite

1 parent e3ae18e2
Showing with 4 additions and 1 deletions
...@@ -31,8 +31,11 @@ describe(Support.getTestDialectTeaser("Transaction"), function () { ...@@ -31,8 +31,11 @@ describe(Support.getTestDialectTeaser("Transaction"), function () {
describe('done', function() { describe('done', function() {
it('gets called when the transaction gets commited', function(done) { it('gets called when the transaction gets commited', function(done) {
var transaction = new Transaction(this.sequelize) var transaction = new Transaction(this.sequelize)
transaction.done(done) transaction.done(done)
transaction.commit() transaction.prepareEnvironment(function() {
transaction.commit()
})
}) })
}) })
}) })
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!