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

Commit 8cdf1573 by XadillaX

add some detail in test of destroy multiple primary keys record

1 parent a6dc86a4
Showing with 6 additions and 0 deletions
...@@ -1785,6 +1785,12 @@ describe(Support.getTestDialectTeaser('Instance'), function() { ...@@ -1785,6 +1785,12 @@ describe(Support.getTestDialectTeaser('Instance'), function() {
expect(sql.indexOf('ru')).to.be.above(-1); expect(sql.indexOf('ru')).to.be.above(-1);
expect(sql.indexOf('bl')).to.be.above(-1); expect(sql.indexOf('bl')).to.be.above(-1);
} }
}).then(function() {
return MultiPrimary.findAll().then(function(ms) {
expect(ms.length).to.equal(1);
expect(ms[0].bilibili).to.equal('bl');
expect(ms[0].guruguru).to.equal('gu');
});
}); });
}); });
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!