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

Commit f66dc707 by Mick Hansen

fix: initial foreign key value can be undefined or null currently depending on RETURNING

1 parent 36c8afea
Showing with 1 additions and 1 deletions
...@@ -279,7 +279,7 @@ describe(Support.getTestDialectTeaser('BelongsTo'), function() { ...@@ -279,7 +279,7 @@ describe(Support.getTestDialectTeaser('BelongsTo'), function() {
Post.create(), Post.create(),
Comment.create() Comment.create()
).spread(function (post, comment) { ).spread(function (post, comment) {
expect(comment.get('post_id')).to.be.undefined; expect(comment.get('post_id')).not.to.be.ok;
var setter = comment.setPost(post, {save: false}); var setter = comment.setPost(post, {save: false});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!