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

Commit c2d29dbe by Sascha Depold

exec specs for all dialects

1 parent d0d4d498
Showing with 5 additions and 1 deletions
......@@ -2,13 +2,16 @@ if (typeof require === 'function') {
const buster = require("buster")
, Helpers = require('../buster-helpers')
, Sequelize = require('../../index')
, dialects = Helpers.getSupportedDialects()
}
buster.spec.expose()
describe('Mixin', function() {
dialects.forEach(function(dialect) {
describe('Mixin@' + dialect, function() {
before(function(done) {
Helpers.initTests({
dialect: dialect,
beforeComplete: function(sequelize) {
this.sequelize = sequelize
}.bind(this),
......@@ -27,4 +30,5 @@ describe('Mixin', function() {
expect(User.getAssociation(Task).target).toEqual(Task)
})
})
})
})
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!