Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix populate test

  • Loading branch information...
commit fbb461c6c01f1e99d7c3d7d6473c80f314d91f0f 1 parent 4336909
@aheckmann aheckmann authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/model.ref.test.js
View
4 test/model.ref.test.js
@@ -1090,7 +1090,7 @@ module.exports = {
p1.comments.length.should.equal(2);
p2.comments.length.should.equal(2);
should.exist(p1.comments[0]._creator.email);
- should.exist(p2.comments[0]._creator.email);
+ should.not.exist(p2.comments[0]._creator);
p1.comments[0]._creator.email.should.equal('fan1@learnboost.com');
p2.comments[1]._creator.email.should.equal('fan1@learnboost.com');
p1.comments[0]._creator.isInit('name').should.be.false;
@@ -1100,7 +1100,7 @@ module.exports = {
should.not.exist(p1.comments[1]._creator);
should.not.exist(p2.comments[0]._creator);
p1.comments[1].content.should.equal('chickfila');
- p1.comments[0].content.should.equal('hello');
+ p2.comments[0].content.should.equal('hello');
});
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.