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

Commit 0fd3ef09 by Mick Hansen

test

1 parent 20cca1ed
Showing with 3 additions and 1 deletions
...@@ -1345,7 +1345,7 @@ describe(Support.getTestDialectTeaser("Include"), function () { ...@@ -1345,7 +1345,7 @@ describe(Support.getTestDialectTeaser("Include"), function () {
}) })
describe('findAndCountAll', function () { describe('findAndCountAll', function () {
xit('should include associations to findAndCountAll', function(done) { it.only('should include associations to findAndCountAll', function(done) {
var User = this.sequelize.define('User', {}) var User = this.sequelize.define('User', {})
, Item = this.sequelize.define('Item', {'test': DataTypes.STRING}) , Item = this.sequelize.define('Item', {'test': DataTypes.STRING})
...@@ -1387,6 +1387,8 @@ describe(Support.getTestDialectTeaser("Include"), function () { ...@@ -1387,6 +1387,8 @@ describe(Support.getTestDialectTeaser("Include"), function () {
expect(result.rows.length).to.eql(1) expect(result.rows.length).to.eql(1)
expect(result.rows[0].item.test).to.eql('def') expect(result.rows[0].item.test).to.eql('def')
}).on('sql', function (sql) {
console.log(sql)
}) })
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!