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

Commit 5ffb9cc4 by Mick Hansen

remove bad tests

1 parent 82bb9796
Showing with 0 additions and 11 deletions
...@@ -794,10 +794,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () { ...@@ -794,10 +794,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
}) })
}) })
it('returns a transaction object', function() {
expect(this.sequelizeWithTransaction.transaction(function(){})).to.be.instanceOf(Transaction)
})
it('allows me to define a callback on the result', function(done) { it('allows me to define a callback on the result', function(done) {
this this
.sequelizeWithTransaction .sequelizeWithTransaction
...@@ -805,13 +801,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () { ...@@ -805,13 +801,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
.done(done) .done(done)
}) })
it('allows me to define a callback on the transaction object', function(done) {
this.sequelizeWithTransaction.transaction(function(t) {
t.done(done)
t.commit()
})
})
if (dialect === 'sqlite') { if (dialect === 'sqlite') {
it("correctly scopes transaction from other connections", function(done) { it("correctly scopes transaction from other connections", function(done) {
var TransactionTest = this.sequelizeWithTransaction.define('TransactionTest', { name: DataTypes.STRING }, { timestamps: false }) var TransactionTest = this.sequelizeWithTransaction.define('TransactionTest', { name: DataTypes.STRING }, { timestamps: false })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!