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

Commit 21ebb71c by Mick Hansen

fix test

1 parent ba77f7dc
Showing with 1 additions and 1 deletions
......@@ -916,7 +916,7 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
})
it('is over-ruled by specified include', function(done) {
this.Country.findAll({ include: [ { all: true }, { model: this.Continent, attributes: [] } ] }).done(function(err, countries) {
this.Country.findAll({ include: [ { all: true }, { model: this.Continent, attributes: ['id'] } ] }).done(function(err, countries) {
expect(err).not.to.be.ok
expect(countries).to.exist
expect(countries[0]).to.exist
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!