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

Commit 606cc844 by Mick Hansen

feat(promises): fix test

1 parent ca62cf10
Showing with 2 additions and 2 deletions
......@@ -1381,7 +1381,7 @@ describe(Support.getTestDialectTeaser("HasMany"), function() {
.then(function() { return b1.save() })
.then(function() { return a1.setRelation1(b1) })
.then(function() { return self.A.find({ where: { name: 'a1' } }) })
.done(function(a) {
.then(function(a) {
expect(a.relation1Id).to.be.eq(b1.id)
done()
})
......@@ -1410,7 +1410,7 @@ describe(Support.getTestDialectTeaser("HasMany"), function() {
.then(function() { return b1.save() })
.then(function() { return b1.setRelation1(a1) })
.then(function() { return self.B.find({ where: { name: 'b1' } }) })
.done(function(b) {
.then(function(b) {
expect(b.relation1Id).to.be.eq(a1.id)
done()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!